CVE-2026-29780
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.
How to fix
- govcert.lu eml_parser2.0.1 or later
- eml-parser2.0.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| govcert.lu eml_parser | v < 2.0.1 | 2.0.1 |
| eml-parserPyPI | v < 2.0.1 | 2.0.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.