{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "7.15.0"
              },
              {
                "fixed": "7.16.0"
              },
              {
                "introduced": "8.0.0b2"
              },
              {
                "fixed": "8.0.0"
              }
            ],
            "source": "DESCRIPTION"
          },
          "events": [
            {
              "introduced": "cf051a72dcdb9e43c93d82d077a667982f63beea"
            },
            {
              "fixed": "efbc6ebc513ca4063f068094e0b9091477d8dde2"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "c8c1ed0c9e77e1a8b74902e6a6825e0b00534b10"
            }
          ],
          "repo": "https://github.com/apeworx/web3.py",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5hr4-253g-cpx2"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111171.json"
  },
  "details": "Web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 contains a server-side request forgery vulnerability because _check_ip_blocked() does not unwrap IPv4-mapped IPv6 addresses in CCIP Read URL validation. Malicious contracts can return OffchainLookup URLs with IPv4-mapped IPv6 hosts or AAAA records, making clients with CCIP Read enabled send requests to loopback, private, or link-local services.",
  "id": "CVE-2026-111171",
  "modified": "2026-10-17T02:30:38.065339884Z",
  "published": "2026-10-15T18:57:55.904Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://pypi.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111171.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ethereum/web3.py/security/advisories/GHSA-5hr4-253g-cpx2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111171"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/web3-py-7.15.0-through-7.16.0-and-8.0-0b2-through-8.0.0-ccip-read-ssrf-bypass"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ethereum/web3.py/pull/3875"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ethereum/web3.py"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ethereum/web3.py/blob/c8c1ed0c9e77e1a8b74902e6a6825e0b00534b10/web3/utils/ccip_url_validation.py#L16-L57"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/ApeWorX/web3.py/security/advisories/GHSA-5hr4-253g-cpx2"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Web3.py 7.15.0 through 7.16.0 and 8.0.0b2 through 8.0.0 CCIP-Read SSRF Bypass"
}