CVE-2026-129296

NameCVE-2026-129296
Descriptionmail-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mail-parser (PTS)forky4.10.0-1fixed
sid4.11.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mail-parsersource(unstable)(not affected)

Notes

- mail-parser <not-affected> (Fixed before initial upload to Debian)
https://github.com/SpamScope/mail-parser/security/advisories/GHSA-fr3h-cpq2-9496
https://github.com/SpamScope/mail-parser/pull/165
https://github.com/SpamScope/mail-parser/commit/3d6cb7a51f2ad7ea57e529121dbd5d56f29fefe8 (4.6.0)

Search for package or bug name: Reporting problems