p PatchFirst

CVE-2026-29780

CVE-2026-29780 · eml_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.5 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • eml_parser

    Versions
    • < 2.0.1: Affected

    No fix published

  • eml-parser PyPI

    Versions
    • 0.9
    • 1.0
    • 1.1
    • 1.10
    • 1.11
    • 1.11.1
    • 1.11.2
    • 1.11.4
    • 1.11.5
    • 1.11.6
    • 1.11.7
    • 1.12.0
    • 1.13.0
    • 1.14.0
    • 1.14.1
    • 1.14.2
    • 1.14.3
    • 1.14.4
    • 1.14.5
    • 1.14.6
    • 1.14.7
    • 1.14.8
    • 1.15.0
    • 1.16.0
    • 1.17.0
    • 1.17.1
    • 1.17.2
    • 1.17.3
    • 1.17.4
    • 1.17.5
    • 1.3
    • 1.4
    • 1.5
    • 1.6
    • 1.7
    • 1.8
    • 1.9
    • 2.0.0
    Affected ranges
    • ECOSYSTEM: < 2.0.1

    Update to 2.0.1

Original sources

Check your server →