VYPR
Critical severityOSV Advisory· Published Jul 20, 2026· Updated Jul 21, 2026

lettre has TLS hostname verification disabled when using Boring TLS backend

CVE-2026-46428

Description

lettre is a a mailer library for Rust. Starting in version 0.10.1 and prior to version 0.11.22, 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. Version 0.11.22 patches the issue.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
lettrecrates.io
>= 0.10.1, < 0.11.220.11.22

Affected products

2
  • Lettre/LettreOSV2 versions
    v0.11.21, v0.11.20, v0.11.19, …+ 1 more
    • (no CPE)range: v0.11.21, v0.11.20, v0.11.19, …
    • (no CPE)range: >=0.10.1,<0.11.22

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.