Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-129296
Published:November 16, 2026
Updated:November 18, 2026
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.
Affected Packages
mail-parser (CONDA):
Affected version(s) >=4.1.3 <4.6.0 || =3.15.0 <4.6.0
Fix Suggestion:
Update to version 4.6.0
https://github.com/SpamScope/mail-parser.git (GITHUB):
Affected version(s) >=v3.8.0 <4.6.0 || >=4.0.0 <4.6.0
Fix Suggestion:
Update to version 4.6.0
mail-parser (PYTHON):
Affected version(s) >=4.0.0 <4.6.0 || >=3.8.0 <4.6.0
Fix Suggestion:
Update to version 4.6.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
External Control of File Name or Path
Improper Limitation of a Pathname to a Restricted Directory
EPSS
Base Score:
0.60