Menu

CVE-2026-129297: CVE-2026-129297: Sender IP Address Spoofing in SpamScope mail-parser
📰

CVE-2026-129297: CVE-2026-129297: Sender IP Address Spoofing in SpamScope mail-parser

DEV Community: security·CVE Reports·about 13 hours ago
#1saBoaRC
#devtosecurity#devto#dev#parser#mail
Reading 0:00
15s threshold

CVE-2026-129297: Sender IP Address Spoofing in SpamScope mail-parser

Vulnerability ID: CVE-2026-129297

CVSS Score: 7.5

Published: 2026-11-16

CVE-2026-129297 is an origin validation vulnerability (CWE-345) in the Python library mail-parser prior to version 4.6.2. The MailParser.get_server_ipaddress() method fails to properly isolate MTA-recorded client IP addresses from sender-controlled text within email Received headers. Due to naive substring delimiter matching, appearance-based regular expression scanning, and fail-open header traversal, remote attackers can spoof their originating IP address to bypass email security controls, blocklists, and anti-spam attribution.

TL;DR

SpamScope mail-parser versions prior to 4.6.2 are vulnerable to sender IP spoofing in get_server_ipaddress(). An attacker can craft HELO strings or pre-populate Received headers to force the parser to ignore the legitimate MTA hop and return an arbitrary attacker-chosen IP address.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.