{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-129297","id":"CVE-2026-129297","title":"mail-parser server IP spoofing via Received headers","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 evi","descriptionLong":"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":"2026-11-16T17:39:47.311Z","updated":"2026-11-17T21:00:54.662907446Z","reserved":"2026-11-13T22:30:18.284Z","status":"Received","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["SpamScope mail-parser"],"affectedProducts":[{"vendor":"SpamScope","product":"mail-parser","defaultStatus":null,"versions":[{"version":"< 4.6.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mail-parser","purl":"pkg:pypi/mail-parser","ranges":["<4.6.2"],"fixed":["4.6.2"],"advisory":"GHSA-72px-j8gh-p79x"}],"cwes":["CWE-345","CWE-20"],"aliases":["GHSA-72px-j8gh-p79x"],"references":[{"url":"https://github.com/SpamScope/mail-parser/security/advisories/GHSA-72px-j8gh-p79x","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/SpamScope/mail-parser/pull/167","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/SpamScope/mail-parser/releases/tag/4.6.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129297.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129297","tags":["advisory"]},{"url":"https://github.com/SpamScope/mail-parser","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00202,"epssPercentile":0.10218,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-129297","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129297","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-129297","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-72px-j8gh-p79x","ok":true,"note":"GHSA-72px-j8gh-p79x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-129297","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}