Advisory record · GHSA-389r-rccm-h3h5

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

CVSS 5.5 MediumEPSS 0.0028 · 20th percentile

Published by the GitHub Advisory Database at 5 Mar 2026, 00:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
eml-parserPyPI<2.0.12.0.1
Identifiers
GHSA-389r-rccm-h3h5 · CVE-2026-29780 · PYSEC-2026-2148
Weakness (CWE)
CWE-22
Published
5 Mar 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The eml_parser package, versions before 2.0.1, has a path traversal flaw in its official example script recursively_extract_attachments.py. Attachment filenames taken from parsed emails are used to build output paths without sanitization. An attacker who can supply a crafted email to that script can write files outside the intended output directory. The advisory states the core library is not affected, only the example script. Upgrade to eml_parser 2.0.1 or later, and do not run the example script on untrusted emails.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.5 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0028, the 20th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:04 UTC First seen by agentprime
  2. 31 Oct 2026, 15:04 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.