eml_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| GOVCERT-LU | eml_parser | before 2.0.1 | 2.0.1 | Patch available | CNA |
| — | eml-parser (PyPI) | before 2.0.1 | 2.0.1 | Patch available | GHSA-389r-rccm-h3h5 |
- eml_parser VendorGOVCERT-LU Affected before 2.0.1 Fixed in 2.0.1 Patch available CNA
- eml-parser (PyPI) Vendor— Affected before 2.0.1 Fixed in 2.0.1 Patch available GHSA-389r-rccm-h3h5
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:govcert.lu:eml_parser:*:*:*:*:*:python:*:* | before 2.0.1 | Vulnerable | GOVCERT-LU |
- cpe:2.3:a:govcert.lu:eml_parser:*:*:*:*:*:python:*:* Versions before 2.0.1 Vulnerable ·GOVCERT-LU
Remediation
- Fix · CNA eml_parser (GOVCERT-LU) Fixed in 2.0.1
- Fix · GHSA-389r-rccm-h3h5 eml-parser (PyPI) Fixed in 2.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-29780
- 2026-10-03 Alias added: GHSA-389r-rccm-h3h5
References
Sources
- CVE-2026-29780 · CVE Program
- CVE-2026-29780 · NVD
- FIRST EPSS
- GHSA-389r-rccm-h3h5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences