{"id":"CVE-2026-42175","aliases":["CVE-2026-42175","GHSA-vh75-fwv3-pqrh","PYSEC-2026-3050"],"related":[],"kind":"vulnerability","state":"published","title":"requests-hardened: Server-Side Request Forgery (SSRF) in requests-hardened  RFC 6598","summary":"requests-hardened is a library that overrides the default behaviors of the requests library, and adds new security features. Prior to , the SSRF protection in requests-hardened fails to block IP addresses within the RFC 6598 Shared Address Space (100.64.0.0/10). An attacker who can supply arbitrary URLs to requests-hardened could exploit this gap to access internal services hosted within 100.64.0.0/10. This is for example relevant in environments such as AWS EKS where 100.64.0.0/10 is commonly used as the default pod CIDR. The impact is environment-dependent, deployments that utilize the affected CIDR range for internal networking are exposed to SSRF bypass, while others may not be affected. This vulnerability is fixed in .","summarySource":"cvelist","descriptions":[{"lang":"en","text":"requests-hardened is a library that overrides the default behaviors of the requests library, and adds new security features. Prior to , the SSRF protection in requests-hardened fails to block IP addresses within the RFC 6598 Shared Address Space (100.64.0.0/10). An attacker who can supply arbitrary URLs to requests-hardened could exploit this gap to access internal services hosted within 100.64.0.0/10. This is for example relevant in environments such as AWS EKS where 100.64.0.0/10 is commonly used as the default pod CIDR. The impact is environment-dependent, deployments that utilize the affected CIDR range for internal networking are exposed to SSRF bypass, while others may not be affected. This vulnerability is fixed in .","source":"cvelist"},{"lang":"en","text":"The SSRF protection in `requests-hardened` prior to version 1.2.1 fails to block IP addresses within the RFC 6598 Shared Address Space (`100.64.0.0/10`). An attacker who can supply arbitrary URLs to `requests-hardened` could exploit this gap to access internal services hosted within `100.64.0.0/10`. This is for example relevant in environments such as AWS EKS where `100.64.0.0/10` is commonly used as the default pod CIDR.\n\nThe impact is environment-dependent, deployments that utilize the affected CIDR range for internal networking are exposed to SSRF bypass, while others may not be affected.\n\nThe issue is resolved in version 1.2.1 by extending the IP filtering logic to explicitly block the RFC 6598 range in addition to standard private addresses, as well as blocking all other reserved addresses (such as multicast) to prevent the re-occurrence of similar issues.\n\nVersion 1.2.1 is now blocking the following CIDRs:\n\n- `192.88.99.0/24` - 6to4 relay anycast\n- `100.64.0.0/10` - CG-NAT\n- `5f00::/16` - IPv6 Segment Routing\n- `64:ff9b::/96` - used for IPv6 & IPv4 translation (NAT64)\n- `2001:20::/28` - ORCHIDv2 (overlay identifiers)\n- `224.0.0.0/4` - multicast\n- `ff00::/8` - multicast\n\n## Resources\n\n- https://github.com/python/cpython/issues/119812\n- https://github.com/saleor/requests-hardened/commit/b7403f88d3b3689e57435b75b51691a160aaeef5 - the fix itself\n- https://github.com/saleor/requests-hardened/commit/a266b3958bb142bca515b3c230fdea19fbda327c - follow up, adding additional support for outdated Python versions (`3.11.9` and `3.10.11` instead of only `3.11.15` and `3.10.20`)\n- https://github.com/saleor/requests-hardened/releases/tag/v1.2.1","format":"markdown","source":"ghsa"},{"lang":"es","text":"requests-hardened es una biblioteca que anula los comportamientos predeterminados de la biblioteca requests, y añade nuevas características de seguridad. Antes de , la protección SSRF en requests-hardened no logra bloquear direcciones IP dentro del Espacio de Direcciones Compartidas RFC 6598 (100.64.0.0/10). Un atacante que puede suministrar URLs arbitrarias a requests-hardened podría explotar esta brecha para acceder a servicios internos alojados dentro de 100.64.0.0/10. Esto es, por ejemplo, relevante en entornos como AWS EKS donde 100.64.0.0/10 es comúnmente utilizado como el CIDR de pod predeterminado. El impacto depende del entorno, las implementaciones que utilizan el rango CIDR afectado para redes internas están expuestas a un bypass de SSRF, mientras que otras pueden no verse afectadas. Esta vulnerabilidad está corregida en .","source":"nvd"}],"published":"2026-05-05T19:52:45.000Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 1.2.1","status":"affected"}],"vendor":"saleor","product":"requests-hardened","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.1"}],"ecosystem":"PyPI","package":"requests-hardened","purl":"pkg:pypi/requests-hardened","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.1"}],"ecosystem":"PyPI","package":"requests-hardened","purl":"pkg:pypi/requests-hardened","source":"pysec"}],"references":[{"url":"https://github.com/saleor/requests-hardened/security/advisories/GHSA-vh75-fwv3-pqrh","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/saleor/requests-hardened/commit/a266b3958bb142bca515b3c230fdea19fbda327c","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/saleor/requests-hardened/commit/b7403f88d3b3689e57435b75b51691a160aaeef5","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/saleor/requests-hardened/releases/tag/v1.2.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42175","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/saleor/requests-hardened","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/requests-hardened","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-vh75-fwv3-pqrh","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-13T14:55:56.342Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42175","url":"https://www.cve.org/CVERecord?id=CVE-2026-42175","licence":"CVE Terms of Use","modified":"2026-05-13T15:37:51.415Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vh75-fwv3-pqrh","url":"https://github.com/advisories/GHSA-vh75-fwv3-pqrh","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:27.118Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42175","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42175","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3050","url":"https://osv.dev/vulnerability/PYSEC-2026-3050","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:43.963Z"}],"updatedAt":"2026-11-25T22:59:21.443Z","epss":{"score":0.00305,"percentile":0.25107,"date":"2026-12-01T12:00:22.000Z"}}