nday
CVE-2026-129297 GHSA-72px-j8gh-p79x

mail-parser: Sender IP address spoofing in `get_server_ipaddress()

SpamScope / mail-parser

Correctif recensé le jour même de la divulgation. Version corrigée : mail-parser 4.6.2. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1) from the CNA GitHub_M
PyPI
GHSA-72px-j8gh-p79x: pip packages mail-parser
étape actuelle
PAT
divulgation
délai avant correctif
T+0d
CVSS
7.5 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-16T17:39Z
PATcorrectif
11-16T23:03Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 7.5, gravité élevée.

source cvelist · observé en direct par nday le · brut
{
  "id": 473209,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-129297",
  "occurred_at": "2026-11-16T17:39:47.311Z",
  "observed_at": "2026-11-16T18:00:20.470886Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "version": "3.1",
      "base_score": 7.5,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-16T17:54:23.374832Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-16T17:39:47.311Z",
    "assigner_short_name": "GitHub_M"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée mail-parser 4.6.2. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-72px-j8gh-p79x · observé en direct par nday le · brut
{
  "id": 475782,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-72px-j8gh-p79x",
  "occurred_at": null,
  "observed_at": "2026-11-16T23:03:12.59201Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-72px-j8gh-p79x",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 7.5,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Input Validation",
        "cwe_id": "CWE-20"
      },
      {
        "name": "Insufficient Verification of Data Authenticity",
        "cwe_id": "CWE-345"
      }
    ],
    "ghsa_id": "GHSA-72px-j8gh-p79x",
    "packages": [
      {
        "name": "mail-parser",
        "ecosystem": "pip",
        "first_patched_version": "4.6.2",
        "vulnerable_version_range": "<= 4.6.1"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/SpamScope/mail-parser/security/advisories/GHSA-72px-j8gh-p79x",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-129297",
      "https://github.com/SpamScope/mail-parser/pull/167",
      "https://github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96",
      "https://github.com/SpamScope/mail-parser/releases/tag/4.6.2",
      "https://github.com/advisories/GHSA-72px-j8gh-p79x"
    ],
    "fix_commit_urls": [
      "https://github.com/SpamScope/mail-parser/pull/167",
      "https://github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96"
    ],
    "github_reviewed_at": "2026-11-16T22:11:54Z",
    "advisory_updated_at": "2026-11-16T22:11:55Z",
    "source_code_location": "https://github.com/SpamScope/mail-parser",
    "advisory_published_at": "2026-11-16T22:11:54Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.