{
  "id": "CVE-2026-129297",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-129297",
  "published_at": "2026-11-16T17:39:47.311Z",
  "title": "mail-parser: Sender IP address spoofing in `get_server_ipaddress()",
  "vendor": "SpamScope",
  "product": "mail-parser",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-345",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "SpamScope",
        "product": "mail-parser",
        "ranges": [
          "\u003c 4.6.2"
        ],
        "fixed_in": [
          "4.6.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mail-parser to 4.6.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/SpamScope/mail-parser/security/advisories/GHSA-72px-j8gh-p79x"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/SpamScope/mail-parser/pull/167"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/SpamScope/mail-parser/commit/ce3cf3559db1ff806bda598b378de9f8c2a5be96"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/SpamScope/mail-parser/releases/tag/4.6.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
