Intel

AIKIDO-2026-10832

lettre is vulnerable to Improper Certificate Validation

Improper Certificate ValidationCVE-2026-46428 Published May 19, 2026

91

Critical Risk

This Affects:

RUSTlettre
0.10.1 - 0.11.21
Fixed in 0.11.22
Are you affected? Scan for Free

TL;DR

The optional Boring TLS integration passed lettre’s accept-invalid-hostnames knob straight into Boring’s verify_hostname API, but that API uses the opposite polarity. Default strict callers therefore skipped hostname checks while still believing TLS named the configured server, so an on-path peer could complete TLS with an unrelated chain-valid certificate and read or tamper with SMTP traffic including credentials. Negating the flag at both sync and async upgrade sites restores intended semantics and matches native-tls and rustls behavior.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and boring-tls is enabled.

Background info

lettre is vulnerable to Improper Certificate Validation in versions 0.10.1 - 0.11.21.

How to fix this

Upgrade the lettre library to the patch version.