Bug 2574022 (CVE-2026-129296) - CVE-2026-129296 mail-parser: mail-parser: Arbitrary file overwrite via directory traversal in attachment extraction
Summary: CVE-2026-129296 mail-parser: mail-parser: Arbitrary file overwrite via direct...
Keywords:
Status: NEW
Alias: CVE-2026-129296
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-16 21:56 UTC by OSIDB Bzimport
Modified: 2026-11-17 00:51 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-16 21:56:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.