{"answers":{"affected":"1 open source package ship an affected version, including mail-parser.","exploited":"There is no known exploitation of CVE-2026-129297 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls get_server_ipaddress(). Many projects that include it are not exposed.","fix":"Upgrade mail-parser to 4.6.2 or later.","what":"CVE-2026-129297 is a high-severity security feature bypass vulnerability in SpamScope mail-parser, published on 16 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-129297 and fix it if it is affected.\n\nWhat it is: CVE-2026-129297 is a high-severity security feature bypass vulnerability in SpamScope mail-parser, published on 16 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-129297 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls get_server_ipaddress(). Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- mail-parser (PyPI): affected all versions; fixed in 4.6.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to get_server_ipaddress() and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-129297/ (Markdown: https://insights.sbomify.com/CVE-2026-129297/index.md)","id":"CVE-2026-129297","markdown":"https://insights.sbomify.com/CVE-2026-129297/index.md","name":"CVE-2026-129297","record":{"aliases":["GHSA-72px-j8gh-p79x"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python email parser","requires_auth":"none","requires_specific_call":true,"summary":"Attackers can spoof sender IP addresses in Received headers so mail-parser attributes messages to attacker-controlled hosts; apps relying on it should care.","user_interaction":"not_required","vuln_class":"security_feature_bypass","vulnerable_functions":["get_server_ipaddress()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"mail-parser: Sender IP address spoofing in `get_server_ipaddress()","id":"CVE-2026-129297","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":1,"n_references":4,"n_vendor_status":1,"next":{"headline":"mail-parser: Uncaught exceptions and silent header loss in mail-parser on attacker-controlled input","id":"CVE-2026-129299"},"nickname":null,"packages":[{"ecosystem":"PyPI","fixed":["4.6.2"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"mail-parser","purl":"pkg:pypi/mail-parser","purl_source":"derived","scope":"upstream","source":"GHSA-72px-j8gh-p79x"}],"prev":{"headline":"mail-parser: Path Traversal vulnerability in attachment extraction","id":"CVE-2026-129296"},"products":["mail-parser"],"published":"2026-11-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-16","vendor_status":[{"n_packages":1,"name":"Upstream","packages":[{"fixed":["4.6.2"],"name":"mail-parser","purl":"pkg:pypi/mail-parser","sources":["GHSA-72px-j8gh-p79x"],"status":"fixed"}],"release":null,"scope":"upstream","status":"fixed","statuses":{"fixed":1},"vendor":null}],"vendors":["SpamScope"]},"summary":"Attackers can spoof sender IP addresses in Received headers so mail-parser attributes messages to attacker-controlled hosts; apps relying on it should care.","url":"https://insights.sbomify.com/CVE-2026-129297/"}