mail-parser get_server_ipaddress() lets senders spoof the sender IP
CVE-2026-129297
A Python email tool can show a faked sender IP.
- CVE
- CVE-2026-129297 (opens in a new tab)
- Score
- CVSS 7.5
- First seen
Mitigation
Update mail-parser to 4.6.2 or later. You can run pip install --upgrade mail-parser. Until then, do not trust the get_server_ipaddress() return value; check the sender with MTA logs or SPF/DKIM/DMARC results computed outside the library.
If installed with pip, run this to update:
pip install --upgrade mail-parser
Summary
mail-parser's get_server_ipaddress() can pick an address the attacker wrote into Received email headers. Programs that rely on its result can be made to attribute a message to an attacker-chosen sender IP; versions before 4.6.2 are affected.
Affected when
Programs that use the get_server_ipaddress() return value
5 other Incidents of this product in the last 30 days
Incidents by product: SpamScope mail-parser
Other recent Incidents of SpamScope mail-parser
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)