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.
History

Thu, 19 Nov 2026 00:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 18 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Spamscope
Spamscope mail-parser
Vendors & Products Spamscope
Spamscope mail-parser

Wed, 18 Nov 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 16 Nov 2026 17:45:00 +0000

Type Values Removed Values Added
Description 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.
Title mail-parser: Path Traversal vulnerability in attachment extraction
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-11-16T17:36:06.814Z

Updated: 2026-11-18T15:16:36.356Z

Reserved: 2026-11-13T22:30:18.284Z

Link: CVE-2026-129296

cve-icon Vulnrichment

Updated: 2026-11-18T15:16:14.187Z

cve-icon NVD

Status : Received

Published: 2026-11-16T18:17:30.390

Modified: 2026-11-18T16:18:10.647

Link: CVE-2026-129296

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-11-16T17:36:06Z

Links: CVE-2026-129296 - Bugzilla