CVE-2026-129297
Received Received - Intake

mail-parser IP Spoofing via Received Headers

Vulnerability report for CVE-2026-129297, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-16
AI Q&A
2026-11-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
mail-parser mail-parser 4.6.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-345 The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability in mail-parser before version 4.6.2 allows an attacker to manipulate the get_server_ipaddress() function by injecting fake IP addresses into Received headers. This can trick the parser into associating a message with a spoofed sender IP address, potentially misleading applications that rely on this data for security or routing decisions.

Impact Analysis

If exploited, this vulnerability could allow attackers to forge email origins, bypass IP-based security checks, or manipulate message tracking systems. Systems using mail-parser to determine sender IP addresses may incorrectly trust attacker-controlled data, leading to security misconfigurations or false attribution of malicious activity.

Mitigation Strategies

Update mail-parser to version 4.6.2 or later to address the vulnerability in get_server_ipaddress().

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-129297. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...