Loading advisory.
Loading advisory.
Argument injection in lettre
Affected versions of lettre allowed argument injection to the sendmail command. It was possible, using forged to addresses, to pass arbitrary arguments to the sendmail executable.
Published 2020-11-11 12:00 UTC · Modified 2024-08-04 16:33 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| lettre | crates.io | >= 0.9.0, < 0.9.5 >= 0.8.0, < 0.8.4 >= 0.7.0, < 0.7.1 >= 0.10.0-alpha.1, < 0.10.0-alpha.4 | 0.9.5, 0.8.4, 0.7.1, 0.10.0-alpha.4 | cargo add lettre@0.9.5cargo add lettre@0.8.4cargo add lettre@0.7.1cargo add lettre@0.10.0-alpha.4 |
Affected versions of lettre allowed argument injection to the sendmail command. It was possible, using forged to addresses, to pass arbitrary arguments to the sendmail executable.
Depending on the implementation (original sendmail, postfix, exim, etc.) it could be possible in some cases to write email data into abritrary files (using sendmail's logging features).
NOTE: This vulnerability only affects the sendmail transport. Others, including smtp, are not affected.
The flaw is corrected by modifying the executed command to stop parsing arguments before passing the destination addresses.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.015 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.015 | first score | v2026.06.15 |