Path Traversal in Govcert-Lu Eml Parser
CVE-2026-29780
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 20.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Govcert-Lu Eml Parser — versions < 2.0.1
- Govcert.lu Eml Parser
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- redyank/CVE-2026-29780 (last pushed 2026-04-03): CVE-2026-29780 eml-parser
References
- https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-389r-rccm-h3h5 (Exploit, Mitigation, Vendor Advisory)
- https://github.com/GOVCERT-LU/eml_parser/issues/88 (Issue Tracking)
- https://github.com/GOVCERT-LU/eml_parser/commit/99af03a09a90aaaaadd0ed2ffb5eea46d1ea2cc9 (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.