Skip to content

Thunderbird email trust wave (6 GHSAs): a lowercase From header outranks the signed one

Source: 2026-11-24T18:30-18:31Z Mozilla advisory release, fixed in Thunderbird 161 and 153.8. The cluster is durable because it is a full operator map of an email client's trust boundaries: sender display vs signature identity, signature-date binding, the client's own authenticated IMAP session as an injection target, credential forwarding to proxies, and local file reference exfiltration through a user gesture. Email-client bugs are under-hunted in bounty and assessment work; this wave shows the whole vocabulary at once.

Wave in one line: prepend a lowercase from: header and Thunderbird shows a different sender than the one the OpenPGP signature verified against, so anyone whose key you accepted can send messages that appear validly signed by anyone else.

Advisories: GHSA-8jr5-cjq5-29vr / CVE-2026-136226 (From-header case duality vs signature identity), GHSA-q3vw-rhqp-54c7 / CVE-2026-136229 (signature-time vs message-date skip on missing/unparsable Date, S/MIME multi-Date picking a later one), GHSA-q4v6-wcv7-rgj4 / CVE-2026-136228 (signed+encrypted OpenPGP/MIME missing date comparison despite CVE-2022-2226 fix), GHSA-gxg6-vqr4-7frw / CVE-2026-136227 (crafted email injects IMAP commands into the authenticated connection and loads sender-chosen web page with scripting), GHSA-3rf9-6j58-34x7 / CVE-2026-136230 (CardDAV credentials sent to an authenticating HTTP proxy), GHSA-455w-467q-jg54 / CVE-2026-136231 (attachment referencing an arbitrary local file, exfiltrated on drag-and-send).

Authorized validation only

Owned test mailboxes and disposable accounts on every leg. The IMAP-injection leg modifies or deletes messages: use a lab account whose mailbox contains only synthetic fixtures you created. Signature-spoof proofs go to your own second account. The local-file leg uses a file you created in your own home directory. Never test against employer production mailboxes other than your own, and never deliver spoofed-signed mail to a third party.

1. Header-name case duality splits displayed sender from verified sender (CVE-2026-136226)

Adding a from: (lowercase) header before the real From: made Thunderbird display one sender while the OpenPGP signature verified against another. Anyone whose key the victim had already accepted could send mail that rendered as validly signed by any other correspondent.

Operator rules:

  1. Header canonicalization asymmetry is the primitive. RFC 5322 field names are case-insensitive, but code paths keying on raw header names are frequently case-sensitive. For every header a UI reads for display (From, Reply-To, Subject) and a verifier reads for identity (DKIM d=, From, AuthResults), the differential battery is: duplicate the name in a second case, vary order, vary whitespace before the colon, and observe which copy each subsystem consumed.
  2. Duplicate-header order battery per identity header: from: then From:, From: then from:, plus mixed case (From:, FROM:, fRoM:). The finding shape is "verifier consumed copy A, renderer consumed copy B."
  3. Genealogy: this is the same parser-differential family as request smuggling, moved to the mail layer, and it joins the SMTP/IMAP framing legs on the June 9 Net::IMAP page and the October 23 Zimbra iCalendar identity battery. For any mail-adjacent product (webmail, mail-scanning gateway, archiver, e-discovery), the display-vs-verify differential is a first-class test, because signature badges are exactly what users trust.

2. Signature recency depends on a header the attacker controls (CVE-2026-136229, CVE-2026-136228)

The anti-replay check compares signature creation time against the message Date: header. When the Date header was absent or unparsable, the comparison was skipped (OpenPGP/MIME signed+encrypted path), and for S/MIME with multiple Date headers a later one could satisfy the check. Result: an old signed message, re-encrypted to the victim and stamped with a current date, renders as freshly valid, defeating the CVE-2022-2226 fix.

Operator rules:

  1. Security controls that read an attacker-supplied timestamp need a missing/malformed column in the decision table. Missing, unparsable, duplicated, future-dated, epoch-zero, and timezone-shifted variants each need an observed behavior. "Comparison skipped" is the row that resurrects archived signed material.
  2. Harvest archived signed messages as attack corpus. Any signed message from a target (mailing lists, PGP keyservers, public archives) is replay ammunition once the date binding is broken: re-encrypt to the victim, restamp, resend. The value of the corpus is the signature, not the content; the content is whatever you get the victim to believe.
  3. Same audit applies to DKIM t= signature timestamps and S/MIME signing-time vs TLS-notBefore style comparisons in any verification UI: enumerate what happens when the reference time source is absent or duplicated.

3. The crafted email that commands the client's own IMAP session (CVE-2026-136227)

The most operator-interesting leg: a chain of weaknesses where a bare carriage return in a header set internal message flags (marking the message as a feed item so its remote content loaded), a reference to an embedded part inside an attribute value disclosed the message's internal IMAP URL (imap://user@host/... style) to the sender, the message-id component of IMAP URLs was not validated, so loading a crafted variant of that URL sent arbitrary IMAP commands on the authenticated connection, and a frame reloading the message plus a legacy feed marker made the message pane load a sender-chosen web page with JavaScript enabled.

Operator rules:

  1. The mail client holds an authenticated protocol session; anything that can reach the client's URL loader is a protocol-injection channel. imap:///mailbox: URL handling without message-id validation converts a rendered email into attacker-controlled IMAP commands (modify/delete messages and folders) executed under the victim's credentials. Grep any mail client or webmail for scheme-handler code paths and check grammar validation on the path components.
  2. Lone CR is a framing character; test it per parser. A bare \r in a header altered internal flags, the same class as the CRLF/{0} literal legs on the June 9 Net::IMAP page. The battery: lone CR, lone LF, CRLF pairs, and encoded shapes, applied per header and per URL component.
  3. Remote-content gates keyed on internal flags are bypassable when the flags are attacker-writable. The "is this a feed item" flag came from header bytes. Whenever a policy decision (load remote content, enable scripting, exempt from sanitization) keys on a state bit derived from message content, hunt every ingress that can set that bit.
  4. Proof shape (lab): synthetic mailbox, your own second account sends the fixture, capture protocol framing on a lab IMAP server with logging; prove command boundary crossing with tagged NOOP/LIST markers only, never message exfiltration.

4. Credential forwarding legs (CVE-2026-136230, CVE-2026-136231)

  • CardDAV through an authenticating HTTP proxy leaks the directory credentials (CVE-2026-136230): when a CardDAV address book was accessed through an HTTP proxy that demanded authentication, Thunderbird answered the proxy's 407 with the CardDAV server's username/password, even over HTTPS, with no user interaction for saved passwords. The proxy (malicious or compromised, e.g. via a pushed enterprise PAC or WPAD) harvests directory credentials. Operator rule: audit any client for challenge-origin confusion (credential destined for server A replayed onto a 401/407 from hop B); the test harness is a lab proxy that returns 407 Proxy-Authenticate on the way to your own CardDAV/CalDAV listener and logs what comes back. Genealogy: same "credential rides the wrong challenge" family as libcurl's Negotiate-on-redirect legs (October 20 page).
  • Attachment referencing an arbitrary local file exfiltrates on drag-and-send (CVE-2026-136231): an attachment referring to a local file under a misleading name, dragged into a composition and sent, shipped the file's contents to the attacker. One user gesture turns a received email into a local-file read primitive. Operator rule: attachment descriptors that are references (URLs, paths, Content-Location, Content-MD5-style external pointers) need the same local-resource confinement audit as inline embeds; in red-team phishing engagements against mail-flow policy limits, this is a sanctioned two-step (deliver reference, have your own test user drag-and-send) to demonstrate DLP gaps.

What to report

Client-side email trust findings price on the deception primitive, not the CVSS default: a valid-looking signature badge on mail the signer never sent is a phishing-multiplier finding with a named product/version fingerprint (Thunderbird < 161, < 153.8). Include the exact header bytes (hex-dumped where case/CR matters), the verification UI's render (badge state), and the lab second-account delivery transcript. For the IMAP leg, transcript framing evidence beats mailbox screenshots, and never include real message content.