CVE-2026-129296: medium-severity vulnerability in SpamScope mail-parser
mail-parser: Path Traversal vulnerability in attachment extraction
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.5epss 0.6%
mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 3.8.0 until 4.6.0, the write_attachments() and write_sample() APIs use attacker-controlled attachment filenames without sufficient sanitization and path containment validation. Directory traversal sequences and absolute filesystem paths can cause an attachment to be written outside the intended output directory. An attacker can overwrite files accessible to the parsing process when an application extracts attachments from a crafted message. This issue is fixed in version 4.6.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Affected products
SpamScope · mail-parserRelated CVEs — SpamScope mail-parser
In the same product, most dangerous first.
CVE-2026-129295HIGHmail-parser is vulnerable to polynomial ReDoS in email header parsingEPSS 0.5%CVE-2026-129300MEDIUMmail-parser: Uncaught `OverflowError` / `OSError` on an out-of-range `Received` dateEPSS 0.4%CVE-2026-129299MEDIUMmail-parser: Uncaught exceptions and silent header loss in mail-parser on attacker-controlled inputEPSS 0.4%CVE-2026-129301MEDIUMmail-parser: One hostile attachment aborts `write_attachments()` and silently drops the rest of the batchEPSS 0.3%CVE-2026-129297HIGHmail-parser: Sender IP address spoofing in `get_server_ipaddress()EPSS 0.2%
References
https://github.com/SpamScope/mail-parser/commit/3d6cb7a51f2ad7ea57e529121dbd5d56f29fefe8https://github.com/SpamScope/mail-parser/commit/b0a2e968815f3ed9e129efb0f5f7e935a9dacd1dhttps://github.com/SpamScope/mail-parser/pull/165https://github.com/SpamScope/mail-parser/releases/tag/4.6.0https://github.com/SpamScope/mail-parser/security/advisories/GHSA-fr3h-cpq2-9496