Vulnerability CriticalRUSTSEC-2026-0141 · lettre
RUSTSEC-2026-0141: TLS hostname verification disabled when using Boring TLS backend
Short answerA security vulnerability in the lettre crate: TLS hostname verification disabled when using Boring TLS backend. GitHub rates it Critical. Fixed in 0.11.22: update to a fixed version.
| Crate | lettre |
|---|---|
| Type | Vulnerability (crypto-failure) |
| Affected versions | From 0.10.1 before 0.11.22. |
| Fixed in | 0.11.22 |
| Severity | Critical (GitHub rating) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N |
| Published | 2026-05-14 |
| Last changed | 2026-10-12 |
| Also known as | CVE-2026-46428, GHSA-4pj9-g833-qx53 |
What to do
- See which version you have:
cargo tree -i lettre(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p lettre. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplelettre = "0.11.22") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
An inverted-boolean bug in lettre's boring-tls integration silently disables TLS hostname verification for callers using the default (strict) configuration. An on-path attacker presenting any chain-valid certificate for any domain can intercept SMTP submission, including PLAIN/LOGIN credentials and message contents, against any lettre user built with the boring-tls feature. Other TLS backends (native-tls, rustls) are unaffected.
The bug was introduced in v0.10.1 and persists through v0.11.21 (latest).
References
- Package: crates.io/crates/lettre
- Advisory: rustsec.org/advisories/RUSTSEC-2026-0141.html
- Web: github.com/lettre/lettre/commit/f5efffc88360dbdbfcef80f465e42d5bce68ca35
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for lettre
Up next
Same cratelettre: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?