CVE-2026-136227: IMAP command injection and JavaScript execution when opening a crafted email
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 161 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 153.8
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
- CVE-2026-136226
- CVE-2026-136227
- CVE-2026-136228
- CVE-2026-136229
- CVE-2026-136230
- CVE-2026-136231
- CVE-2026-130020
- CVE-2026-130021
- CVE-2026-135500
- CVE-2026-135501
- CVE-2026-135502
- CVE-2026-135503
- CVE-2026-135504
- CVE-2026-135505
- CVE-2026-135506
- CVE-2026-135507
- CVE-2026-135508
- CVE-2026-135509
- CVE-2026-135510
- CVE-2026-135511
- CVE-2026-135512
- CVE-2026-135513
- CVE-2026-135514
- CVE-2026-135515
- CVE-2026-135516
- CVE-2026-135517
- CVE-2026-135518
- CVE-2026-135519
- CVE-2026-135520
- CVE-2026-135521
- CVE-2026-135522
- CVE-2026-135523
- CVE-2026-135524
- CVE-2026-135525
- CVE-2026-135526
- CVE-2026-135527
- CVE-2026-135528
- CVE-2026-135529
- CVE-2026-135530
- CVE-2026-135531
- CVE-2026-135532
- CVE-2026-135533
- CVE-2026-135534
- CVE-2026-135535
- CVE-2026-135536
- CVE-2026-135537
- CVE-2026-135538
- CVE-2026-135539
- CVE-2026-135540
- CVE-2026-135541
- CVE-2026-135542
- CVE-2026-135543
- CVE-2026-135544
- CVE-2026-135545
- CVE-2026-135546
- CVE-2026-135547
- CVE-2026-135548
- CVE-2026-135549
- CVE-2026-135550
- CVE-2026-135551
- CVE-2026-135552
- CVE-2026-135553
- CVE-2026-135554
- CVE-2026-135555
- CVE-2026-135556
- CVE-2026-135557
- CVE-2026-135558
- CVE-2026-135559
- CVE-2026-135560
- CVE-2026-135562
- CVE-2026-135563
- CVE-2026-135564
- CVE-2026-135565
- CVE-2026-135566
- CVE-2026-135567
- CVE-2026-135568
- CVE-2026-135569
- CVE-2026-135570
- CVE-2026-135571
- CVE-2026-135572
- CVE-2026-135573
- CVE-2026-135574
- CVE-2026-135575
- CVE-2026-135576
- CVE-2026-135577
- CVE-2026-135578
- CVE-2026-135579
- CVE-2026-135580
- CVE-2026-135581
- CVE-2026-135582
- CVE-2026-135583
- CVE-2026-135584
- CVE-2026-135585
- CVE-2026-135586
- CVE-2026-135587
- CVE-2026-135588
- CVE-2026-135590
- CVE-2026-135591
- CVE-2026-135592
- CVE-2026-135593
- CVE-2026-135595
- CVE-2026-135596
- CVE-2026-135597
- CVE-2026-135598
- CVE-2026-135599
- CVE-2026-135600
- CVE-2026-135601
- CVE-2026-135602
- CVE-2026-135603
- CVE-2026-135604
- CVE-2026-135605
- CVE-2026-135606
- CVE-2026-135607
- CVE-2026-135608
- CVE-2026-135609
- CVE-2026-135610
- CVE-2026-135611
- CVE-2026-135612
- CVE-2026-135613
Frequently Asked Questions
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.
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.
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.
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.