CVE Professor
›
Back
CVE-2026-129297

CVE-2026-129297 — Mail-parser — CWE-20 · CWE-345

HIGH CVSS 7.5 ⚡ EPSS 0.2% GitHub

CVE-2026-129297 is a HIGH severity security vulnerability (CWE-20, CWE-345) (CVSS 7.5/10 (EPSS: 0.2%)) 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

### Patches Fixed in **4.6.2**. Upgrade with `pip install --upgrade mail-parser`. Candidate addresses are now selected by position, not by appearance — a bracketed address the sender wrote is byte-identical to one the MTA wrote, so no amount of pattern matching can tell them apart: - the first token of the `from` clause is the HELO name, whatever its shape, and is never a candidate; - an explicit HELO marker inside a comment group is sender text and is excluded; - a candidate must sit inside a `(` / `[` group; - IPv4 and IPv6 matches are merged positionally, never family-first; - the walk stops at the first trusted hop naming no address, rather than continuing into sender-written headers. The IPv6 pattern was corrected to skip the `IPv6:` tag and to prefer the longest valid form. **Behaviour change.** `get_server_ipaddress()` now returns `None` rather than an unreliable value in two cases that previously returned an address: a `from` clause consisting of a bare address with no HELO marker (indistinguishable from `EHLO <that address>`), and a trusted hop naming no address at all. Callers must handle `None`. ### Workarounds None within mail-parser. Callers who cannot upgrade should not treat the return value of `get_server_ipaddress()` as trustworthy, and should derive sender attribution from an authenticated signal instead — the MTA's own logs, or SPF/DKIM/DMARC results computed outside this library.

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:H/A:N
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 High I:H
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.2%
30-day probability
In the 10. 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-129297
CVSS 7.5/10 · HIGH · 16.11.2026
CWE: CWE-20, CWE-345
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

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

Fixed in 4.6.2. Upgrade with pip install --upgrade mail-parser. Candidate addresses are now selected by position, not by appearance — a bracketed address
the sender wrote is byte-identical to one the MTA wrote, so no amount of pattern matching
can tell them apart:

  • the first token of the from clause is the HELO name, whatever its shape, and is never a
  • candidate;
  • an …
Affected: mail-parser

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

🌍 REAL WORLD IMPACT
Data can be modified or deleted.

🛡️ 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
⚠️ This week (7 days) — High risk, anonymous remote.

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

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
7.5 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-20 CWE-345
Affected Products (1)
mail-parser
References & Advisories (4)
Related CVEs
9.8
CVE-2026-63189
Dialoqbase is an application for creating chatbots. Prior to 1.11.5, the unauthenticated GET /api/v1/view/* ro
9.6
CVE-2026-130783
Incus before 7.6.0 exposes certificate and cluster join token secrets through the default project event stream
8.8
CVE-2026-130741
Grav from 2.0.0 before 2.2.18 contains a Twig sandbox bypass vulnerability that allows publishers to read any
8.8
CVE-2026-130702
NocoDB before 2026.10.0 contains an account takeover vulnerability that allows users with the base creator rol
8.7
CVE-2026-77295
MyMangaDB is a self-hosted manga collection manager with automatic metadata, MyAnimeList import, Docker suppor
8.7
CVE-2026-130685
vLLM from 0.28.0 before 0.33.0 contains an improper input validation vulnerability that allows unauthenticated