Skip to content

RUSTSEC-2026-0141: TLS hostname verification disabled when using Boring TLS backend #574

@github-actions

Description

@github-actions

TLS hostname verification disabled when using Boring TLS backend

Details
Package lettre
Version 0.11.21
URL GHSA-4pj9-g833-qx53
Date 2026-05-14
Patched versions >=0.11.22
Unaffected versions <0.10.1

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

See advisory page for additional details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions