Skip to main content
VulnerabilityPublished

CVE-2026-129297: mail-parser · Sender IP address spoofing in get_server_ipaddress()

Affects mail-parserSource GCVE Database

0
Compare
Authoritative record:CVE-2026-129297· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 4.6.2 soon.

Data as of 16 Nov 2026, 23:12 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPImail-parserAffected
  • <4.6.2
Fixed in
  • 4.6.2

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

Community reviews

Loading reviews…