CVE-2026-136227: IMAP command injection and JavaScript execution when opening a crafted email

Published Nov 24, 2026
·
Updated

By combining several weaknesses, a crafted email could, when opened, inject commands into the authenticated IMAP connection, and load a web page with JavaScript enabled in place of the message. A bare carriage return in a header let the sender set Thunderbird's internal message flags, marking the message as a feed item and allowing its remote content to load. A reference to an embedded part placed inside an attribute value disclosed the message's internal IMAP URL to the sender. The message ID part of IMAP URLs was not validated, so loading a crafted variant of that URL sent arbitrary IMAP commands, which could modify or delete messages and folders. Finally, a frame reloading the message, together with a legacy feed marker in its content, caused the message pane to load a sender-chosen web page with scripting enabled.

Affected Software

7 affected componentsFixes available
Mozilla Thunderbird<16.0.1
Mozilla Thunderbird<161
161
Mozilla Thunderbird<153.8
153.8
debian/thunderbird*
debian/thunderbird*
debian/thunderbird*
debian/thunderbird<=1:140.12.0esr-1~deb12u1, <=1:153.7.0esr-1~deb12u1, <=1:140.12.0esr-1~deb13u1, <=1:153.7.0esr-1~deb13u1, <=1:153.7.0esr-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 161
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 153.8

Event History

Nov 24, 2026
CVE Published
via Mozilla·12:00 AM
Data Sourced
via Mozilla·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:58 PM
Data Sourced
via MITRE·03:58 PM
Description
Data Sourced
via NVD·04:18 PM
Description
Data Sourced
via OSV·04:18 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What must an attacker do to trigger the issue?

The attacker must send a specially crafted email and have the recipient open it. The exploit chain relies on crafted headers, embedded-part references, and message content that causes the message pane to reload attacker-controlled web content.

2

What access could an attacker gain through the IMAP portion of the exploit?

The crafted message can cause arbitrary IMAP commands to be sent over the recipient's authenticated IMAP connection. Those commands could modify or delete messages and folders.

3

What is the impact of the web-content portion of the exploit?

The exploit can cause Thunderbird's message pane to load a sender-chosen web page with JavaScript enabled instead of the email message. This occurs after the message is marked as a feed item and its remote content is allowed to load.

4

Which Thunderbird versions are affected or fixed?

The provided information states that the vulnerability was fixed in Thunderbird 161. It does not identify the first affected version or the full affected version range.

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