๐Ÿ” CVE Alert

CVE-2026-129296

MEDIUM 6.5

mail-parser: Path Traversal vulnerability in attachment extraction

CVSS Score
6.5
EPSS Score
0.6%
EPSS Percentile
49th

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.

CWE CWE-22
Vendor spamscope
Product mail-parser
Published Nov 16, 2026
Last Updated Nov 18, 2026
Stay Ahead of the Next One

Get instant alerts for spamscope mail-parser

Be the first to know when new medium vulnerabilities affecting spamscope mail-parser are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

SpamScope / mail-parser
>= 3.8.0, < 4.6.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/SpamScope/mail-parser/security/advisories/GHSA-fr3h-cpq2-9496 github.com: https://github.com/SpamScope/mail-parser/pull/165 github.com: https://github.com/SpamScope/mail-parser/commit/3d6cb7a51f2ad7ea57e529121dbd5d56f29fefe8 github.com: https://github.com/SpamScope/mail-parser/commit/b0a2e968815f3ed9e129efb0f5f7e935a9dacd1d github.com: https://github.com/SpamScope/mail-parser/releases/tag/4.6.0