CVE-2026-29780 PUBLISHED

eml_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write

Assigner: GitHub_M
Reserved: 04.03.2026 Published: 07.03.2026 Updated: 07.03.2026

eml_parser serves as a python module for parsing eml files and returning various information found in the e-mail as well as computed information. Prior to version 2.0.1, the official example script examples/recursively_extract_attachments.py contains a path traversal vulnerability that allows arbitrary file write outside the intended output directory. Attachment filenames extracted from parsed emails are directly used to construct output file paths without any sanitization, allowing an attacker-controlled filename to escape the target directory. This issue has been patched in version 2.0.1.

Metrics

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

Product Status

Vendor GOVCERT-LU
Product eml_parser
Versions
  • Version < 2.0.1 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE