Email me

Rust advisories / lettre

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.

Cratelettre
TypeVulnerability (crypto-failure)
Affected versionsFrom 0.10.1 before 0.11.22.
Fixed in0.11.22
SeverityCritical (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
Published2026-05-14
Last changed2026-10-12
Also known asCVE-2026-46428, GHSA-4pj9-g833-qx53

What to do

  1. See which version you have: cargo tree -i lettre (it also shows which of your dependencies pulls it in).
  2. 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 example lettre = "0.11.22") or update the dependency that pulls it in.
  3. 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

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

Full security history of 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?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ