Advisory

RUSTSEC-2026-0141

Also known as: CVE-2026-46428, GHSA-4pj9-g833-qx53

Summary

TLS hostname verification disabled when using Boring TLS backend

Details

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).

Severity

Not rated by the source.

Dates

Published
2026-05-14 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

lettre

crates.io · All systems

Affected

  • introduced 0.10.1, fixed 0.11.22 (semver)

Fixed versions

0.11.22

Fix

  • Fixed version 0.11.22
    cargo update -p lettre --precise 0.11.22

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences