All reports
Medium

Argument injection in lettre

Affected versions

Version ranges need review.

Rust / Cargolettre
Affected versions
>= 0.9.0, < 0.9.5
Fixed version
0.9.5
Rust / Cargolettre
Affected versions
>= 0.7.0, < 0.7.1
Fixed version
0.7.1
Rust / Cargolettre
Affected versions
>= 0.8.0, < 0.8.4
Fixed version
0.8.4
Rust / Cargolettre
Affected versions
>=0.7.0 <0.7.1 || >=0.8.0 <0.8.4 || >=0.9.0 <0.9.5 || >=0.10.0-alpha.1 <0.10.0-alpha.4
Fixed version
0.10.0-alpha.4 · 0.7.1 · 0.8.4 · 0.9.5

Exploitation

CVE-2020-28247

Probability of exploitation in the next 30 days: 1.52%

FIRST EPSS · 2026-11-19

Description

Impact

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.

Fix

The flaw is corrected by modifying the executed command to stop parsing arguments before passing the destination addresses.

References

Links

Credits

  • vin01