Skip to main content
← All vulnerabilities
CVE-2026-29780GHSA-389R-RCCM-H3H5PYSEC-2026-2148

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.1
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • GOVCERT-LU eml_parser

    fixed in 2.0.1

  • eml-parserPyPI

    fixed in 2.0.1

References 4

GitHub · GOVCERT-LU/eml_parser

GitHub · redyank/CVE-2026-29780