{"id":"CVE-2026-129297","sourceIdentifier":"security-advisories@github.com","published":"2026-11-16T18:17:30.590","lastModified":"2026-11-16T18:17:30.590","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"SpamScope","product":"mail-parser","versions":[{"version":"< 4.6.2","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-16T17:54:23.374832Z","id":"CVE-2026-129297","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Primary","description":[{"lang":"en","value":"CWE-345"}]}],"references":[{"url":"https://github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96","source":"security-advisories@github.com"},{"url":"https://github.com/SpamScope/mail-parser/pull/167","source":"security-advisories@github.com"},{"url":"https://github.com/SpamScope/mail-parser/releases/tag/4.6.2","source":"security-advisories@github.com"},{"url":"https://github.com/SpamScope/mail-parser/security/advisories/GHSA-72px-j8gh-p79x","source":"security-advisories@github.com"}]}