Skip to content
OpenAdvisories
Medium · 5.5 Public exploit CVE-2026-29780 EUVD-2026-10153GHSA-389r-rccm-h3h5PYSEC-2026-2148

eml_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write

Published Mar 7, 2026 · Updated Mar 9, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
GOVCERT-LU eml_parser < 2.0.1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI eml-parser < 2.0.1 2.0.1 GHSA-389r-rccm-h3h5

References