Vulnerability · Published Mar 7, 2026 · Assigned by GitHub_M

CVE-2026-29780eml_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write

Medium 5.5

In plain English

A medium-severity path traversal in eml_parser from GOVCERT-LU. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 79.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIeml-parser2.0.1GHSA-389r-rccm-h3h5
PyPIeml-parser2.0.1PYSEC-2026-2148

Affected products (as reported)

VendorProductVersions
GOVCERT-LU eml_parser < 2.0.1

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

References