CVE-2026-125756 · Package
NO FIX YET · SEE WHAT TO DO
postal-mime before 4.2.1 truncates the sender domain in its address parser when folding whitespace or comments precede a dot. An attacker can craft a From header that passes SPF, DKIM and DMARC for their own subdomain while the parsed sender shows a spoofed victim address.
first public Nov 10, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Applications that parse inbound email with postal-mime and use the parsed From address for trust, routing or access decisions. Systems that only store or forward mail without relying on the sender field are less exposed. unknown whether other sources add more detail.
Not affected if sender-not-trusted, version-4.2.1-or-later
Who cares email-parsing, node, postal-mime
npm ls postal-mimePostalMime.parse() and trusts the parsed from address for authorization or display decisions4.2.1 or laterpostal-mime before 4.2.1 contains a parser differential vulnerability in its address parser that truncates the domain at folding whitespace or comments preceding a dot. Remote attackers can craft From headers that pass SPF/DKIM/DMARC alignment for their own subdomain while PostalMime.parse() reports a spoofed victim sender address.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
This page as .md · .json · CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.