Live threats

All CVEs / SpamScope

CVE-2026-129296SpamScope mail-parser

Medium 6.5 No auth needed

Priority
58
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Nov 16, 2026
Updated
Nov 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. From 3.8.0 until 4.6.0, the write_attachments() and write_sample() APIs use attacker-controlled attachment filenames without sufficient sanitization and path containment validation. Directory traversal sequences and absolute filesystem paths can cause an attachment to be written outside the intended output directory. An attacker can overwrite files accessible to the parsing process when an application extracts attachments from a crafted message. This issue is fixed in version 4.6.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for mail-parser.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mail-parser ≥ 3.8.0 < 4.6.0 4.6.0 pip install "mail-parser>=4.6.0"

Per OSV / GitHub Advisories (GHSA-fr3h-cpq2-9496). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.