CVE-2026-129297: mail-parser · Sender IP address spoofing in get_server_ipaddress()
Affects mail-parserSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 4.6.2 soon.
Data as of 16 Nov 2026, 23:12 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 4.6.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade mail-parser to 4.6.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPImail-parser | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade mail-parser to version 4.6.2 or later, where the vulnerability is fixed. If upgrading is not possible, do not trust the IP address returned by get_server_ipaddress() and instead use authenticated signals such as MTA logs or SPF/DKIM/DMARC verification results for sender attribution. There are no internal workarounds within mail-parser.
Description
A vulnerability in mail-parser versions prior to 4.6.2 allows spoofing of the sender IP address in the get_server_ipaddress() function. The issue arises from unreliable selection of candidate IP addresses from email headers, which could lead to incorrect sender attribution. The flaw is fixed in version 4.6.2, which changes the logic to select candidate addresses by position and improves IPv6 pattern matching. Callers must now handle cases where the function returns None instead of an unreliable IP address.
References
- github.com/SpamScope/mail-parser/security/advisories/GHSA-72px-j8gh-p79x (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-129297 (opens in a new tab)
- github.com/SpamScope/mail-parser/pull/167 (opens in a new tab)
- github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96 (opens in a new tab)
- github.com/SpamScope/mail-parser (opens in a new tab)
- github.com/SpamScope/mail-parser/releases/tag/4.6.2 (opens in a new tab)