CVE-2026-29780CWE-22

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

Medium · published March 7, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
7.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00187 · 7.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-03-07T15:22Z
EPSS history
Timeline
  • 07 MAR 15:22Z
    eml_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write
    cvelistv5