CVE Professor
›
Back
CVE-2026-129301

CVE-2026-129301 — Mail-parser — CWE-248 · CWE-436

MEDIUM CVSS 6.5 ⚡ EPSS 0.3% GitHub

CVE-2026-129301 is a MEDIUM severity security vulnerability (CWE-248, CWE-436) (CVSS 6.5/10 (EPSS: 0.3%)) affecting Mail-parser. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), posing a direct security risk to affected deployments.

📄 Official NVD / MITRE Original Record Text

### Impact `write_attachments()` called `_safe_attachment_filename()` and `write_sample()` inside its loop with no guard, so a single crafted attachment raised out of the whole save. Every attachment **after** the malicious one was silently never written, with no error surfaced to a caller that catches only `MailParserError`. That is an evasion primitive as much as an availability bug: a sender puts one poisoned part first and the real payload second, and the payload never reaches the extraction directory that a downstream scanner or sandbox reads — while it still reaches the recipient's mail client intact. The tool's output diverges from the bytes actually in the message, which is the same failure mode as the filename-sanitizing bypass in [GHSA-fr3h-cpq2-9496](https://github.com/SpamScope/mail-parser/security/advisories/GHSA-fr3h-cpq2-9496). Three shapes were reachable, all from attacker-controlled MIME metadata: - **NUL smuggled through RFC 2231** — `filename*=us-ascii''evil%00.bin` decodes to a NUL in the filename during parsing and raised `ValueError` out of the name check; - **overlong basename** — a filename longer than `NAME_MAX` (e.g. 300 characters) raised `OSError: File name too long` from `open()`, *after* creating a zero-byte stub on disk; - **undecodable payload** — a body that is not valid base64 raised `binascii.Error` (a `ValueError` subclass) from the decode performed inside the `open()` block. ```python import tempfile, mailparser raw = (

Published 16.11.2026
ISO Date 2026-11-16
CVSS Version v3.1
Source GitHub
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality None C:N
Integrity Low I:L
Availability Low A:L
EPSS — Exploit Prediction Scoring System
0.3%
30-day probability
In the 27. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-129301
CVSS 6.5/10 · MEDIUM · 16.11.2026
CWE: CWE-248, CWE-436
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Impact

write_attachments() called _safe_attachment_filename() and write_sample() inside its loop
with no guard, so a single crafted attachment raised out of the whole save. Every attachment
after the malicious one was silently never written, with no error surfaced to a caller that
catches only MailParserError. That is an evasion primitive as much as an availability bug: a sende…
Affected: mail-parser

⚡ ATTACK CHAIN
Remotely over internet | no authentication required | no user interaction | low complexity.

🌍 REAL WORLD IMPACT

🛡️ REMEDIATION
→ Apply vendor security update for mail-parser.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
6.5 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-248 CWE-436
Affected Products (1)
mail-parser
References & Advisories (4)
Related CVEs
7.1
CVE-2026-62267
matrix-hookshot is a Matrix bot for connecting to external services like GitHub, GitLab, JIRA, and more. Prior
4.3
CVE-2026-130590
react-native-webview 11.25.1 through 17.1.0 on Android contains a denial of service vulnerability that allows
7.5
CVE-2026-124724
@fastify/busboy is a streaming parser for multipart form data used by Fastify. In versions 1.0.0 through 3.2.5
7.1
CVE-2026-95839
containerd is an open-source container runtime. From 2.2.0 until 2.2.10, 2.3.7, and 2.4.2, image manifest proc
6.5
CVE-2026-129299
### Impact Two effects, sharing the root cause of Advisory 1 — header names chosen by the sender were resol
6.5
CVE-2026-128071
### Summary Nuxt matches route rules against the request path with encoded slashes (`%2F`) left encoded, whil