{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "8.2.0"
                  },
                  {
                    "fixed": "8.2.34"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "8.3.0"
                  },
                  {
                    "fixed": "8.3.35"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "8.4.0"
                  },
                  {
                    "fixed": "8.4.26"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "8.5.0"
                  },
                  {
                    "fixed": "8.5.11"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          "events": [
            {
              "introduced": "70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"
            },
            {
              "fixed": "0be211a0cf752780881a9611224f8adc516af573"
            },
            {
              "introduced": "d26068059e83fe40de3430a512471d194119bee0"
            },
            {
              "fixed": "2d3433d24d59f45703be2b4fb40d74e5a41b136b"
            },
            {
              "introduced": "b437f2b32eb364c9496d24abcc734272e5c9c980"
            },
            {
              "fixed": "c31ae58ecbedc7a85dac0eee5a6a88da73543e70"
            },
            {
              "introduced": "685e99655ae97c667950f7f7d176985958718f56"
            },
            {
              "fixed": "678778973bb4d4185c06ef1320de50f1a975d3c8"
            }
          ],
          "repo": "https://github.com/php/php-src",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fpwc-w8rq-cr92"
  ],
  "database_specific": {
    "cna_assigner": "php",
    "cwe_ids": [
      "CWE-200",
      "CWE-522"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91766.json"
  },
  "details": "When the http:// stream wrapper follows a redirect it forwards the user-supplied Authorization, Cookie and Proxy-Authorization headers unchanged, even when the redirect target is a different host, a different port, or a downgrade from HTTPS to HTTP. A server that can steer a redirect therefore receives credentials that were only meant for the original origin. This is the same class of issue that libcurl fixed in 7.58.0 ( CVE-2018-1000007 https://github.com/advisories/GHSA-g7x2-hrfp-pv5f ).",
  "id": "CVE-2026-91766",
  "modified": "2026-11-11T02:30:47.863778811Z",
  "published": "2026-09-25T20:40:25.040Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91766.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/php/php-src/security/advisories/GHSA-fpwc-w8rq-cr92"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-91766"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross-origin credential leak in HTTP stream wrapper redirects"
}