CVE-2026-129297

GHSA-72px-j8gh-p79x · published 16 Nov 2026 · updated 16 Nov 2026

mail-parser: Sender IP address spoofing in `get_server_ipaddress()

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in mail-parser 4.6.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SpamScope<4.6.2
pypi: mail-parser<4.6.2, <=4.6.14.6.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in mail-parser (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-129297 severity on Zeptric[![CVE-2026-129297](https://zeptric.io/badge/cve/CVE-2026-129297.svg)](https://zeptric.io/cve/CVE-2026-129297)