What’s Vulnerable › Vulnerabilities
CVE-2026-29780: eml_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-07 · updated 2026-06-17
- Weakness: CWE-22
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 products
- GOVCERT-LU eml_parser: before 2.0.1 — fixed in 2.0.1
How to fix
Upgrade to a fixed version: GOVCERT-LU eml_parser 2.0.1. Check the vendor advisory for mitigations.
References
- https://github.com/GOVCERT-LU/eml_parser/commit/99af03a09a90aaaaadd0ed2ffb5eea46d1ea2cc9
- https://github.com/GOVCERT-LU/eml_parser/issues/88
- https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-389r-rccm-h3h5
Get alerted when CVE-2026-29780 or the next vulnerability affects your stack