CVE-2026-129297
Description
mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. Prior to 4.6.2, get_server_ipaddress() can select an attacker-controlled address from attacker-controlled Received headers. The minimum mechanism needed to distinguish this spoofing issue, derived from the advisory's remediation analysis and verified fix evidence, is appearance-based candidate selection that can treat bracketed IPv4 or IPv6 addresses or HELO markers in sender-written text as MTA-recorded addresses and can continue past a trusted hop that names no address. Applications that rely on the returned value can attribute a message to an attacker-selected sender IP address. This issue is fixed in version 4.6.2.
Weakness
- CWE-345: Insufficient Verification of Data Authenticity
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-11-16 |
Timeline
- 2026-11-16Published by the CNA17:39 UTC
- 2026-11-16GitHub advisory published (GHSA-72px-j8gh-p79x)same day
- 2026-11-16Published in NVD18:17 UTC · 37 minutes after the CNA
- 2026-11-16CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-72px-j8gh-p79x, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI mail-parser | before 4.6.2 | 4.6.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| spamscope mail-parser |
References
- https://github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96
- https://github.com/SpamScope/mail-parser/pull/167
- https://github.com/SpamScope/mail-parser/releases/tag/4.6.2
- https://github.com/SpamScope/mail-parser/security/advisories/GHSA-72px-j8gh-p79x
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-129297'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-129297'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-129297'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-129297'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).