RUSTSEC-2026-0563: Messages for an address with a quoted local part are sent to a different address

Published Nov 17, 2026
·
Updated

A message whose sender or recipient has a quoted local part is sent with a different address in its envelope than the one the application was given: "d "@example.com becomes d@example.com. Someone who can choose such an address can have a message delivered to another mailbox than the one the application validated.

Addresses without a quoted local part are not affected.

Affected Software

1 affected componentFixes available
rust/lettre>=0.11.0<0.11.24
0.11.24

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/lettre to a version that resolves this vulnerability.

    Fixed in 0.11.24

Event History

Nov 17, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which applications are exposed to unintended mailbox delivery?

Applications using lettre are exposed when they accept or construct sender or recipient addresses with quoted local parts and validate or authorize the address before lettre builds the message envelope. Addresses without a quoted local part are not affected.

2

What must an attacker control to exploit this issue?

The attacker must be able to choose an address containing a quoted local part, such as "d "@example.com. The application must treat the supplied address as acceptable even though lettre sends the envelope to the differently normalized address d@example.com.

3

How can we identify potentially affected message flows?

Review uses of lettre where sender or recipient addresses come from users or other untrusted input. Test quoted-local-part addresses and compare the address validated by the application with the envelope address actually sent; a quoted address that becomes an unquoted address indicates exposure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203