CVE-2026-129297
mail-parser sender IP spoofing in get_server_ipaddress()
A remote attacker can send a crafted email without logging in to make the parser report a forged sender IP address.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-129297 divulgada · CVSS 7.5 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Mail-parser, a Python tool for parsing emails, can be tricked into reporting a forged sender IP address. Its get_server_ipaddress() function can pick an address that the attacker wrote into the message's Received headers, and this can be done remotely by sending a crafted email without logging in.
mail-parser 4.6.1 and earlier can return an attacker-chosen sender IP from get_server_ipaddress(). Fixed in 4.6.2.
Descripción original del registro (GitHub_M)
mail-parser is a tool that parses emails by enhancing the Python standard library and extracting message details into a comprehensive object. Prior to 4.6.2, get_server_ipaddress() can select an attacker-controlled address from attacker-controlled Received headers. The minimum mechanism needed to distinguish this spoofing issue, derived from the advisory's remediation analysis and verified fix evidence, is appearance-based candidate selection that can treat bracketed IPv4 or IPv6 addresses or HELO markers in sender-written text as MTA-recorded addresses and can continue past a trusted hop that names no address. Applications that rely on the returned value can attribute a message to an attacker-selected sender IP address. This issue is fixed in version 4.6.2.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
mail-parser |
Corregida | 4.6.2 | — | — |
4.6.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/SpamScope/mail-parser/security/advisories/GHSA-72px-j8gh-p79xhttps://github.com/SpamScope/mail-parser/pull/167https://github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96https://github.com/SpamScope/mail-parser/releases/tag/4.6.2Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
