Security mailing lists by PureSourceCode

CVE-2026-129297

HIGH 7.5CVSS 3.1

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

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.

Published
16 Nov 2026
Last modified
16 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-20CWE-345
Also known as
GHSA-72px-j8gh-p79x
Sources
NVDJSONOSV GHSA-72px-j8gh-p79xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI mail-parser < 4.6.2 4.6.2

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 16 Nov 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.