Loading0%
SUBZER0
LIVE
Alerts

CVE-2026-129296

mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object.

  • Severity: Medium
  • CVSS 6.5
  • EPSS 0.74%
  • P4 · Track

Why P4: track.

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.

Affected products

  • pip mail-parser >= 3.8.0, < 4.6.0; first patched: 4.6.0

Weakness

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

References

Browse more

PyPI (pip) packagesWeek 47, 2026 recapPath traversal

Published 2026-11-16 · updated 2026-11-18 · sources: NVD, GitHub Advisory Database