Directory Traversal Vulnerability in mail-parser by SpamScope
CVE-2026-129296

6.5MEDIUM

Key Information:

Vendor

Spamscope

Vendor
CVE Published:
16 November 2026

What is CVE-2026-129296?

The mail-parser tool is susceptible to a directory traversal vulnerability due to improper handling of attachment filenames in its write_attachments() and write_sample() APIs. This allows an attacker to exploit the tool by sending crafted email messages with malicious attachment filenames that lack sufficient sanitization. As a result, these attachments could be written outside the designated output directory, leading to potential file overwrites within the parsing process. This issue impacts mail-parser versions from 3.8.0 to 4.5.9 and has been remediated in version 4.6.0.

Affected Version(s)

mail-parser >= 3.8.0, < 4.6.0

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.