cve.bz

CVE-2026-91766 php php: Insufficiently Protected Credentials

5.9 mediumExploit referenceEPSS 0.3%

Medium (5.9) in php php. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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 ).

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-522 Insufficiently Protected Credentials
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-91766 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-91766?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-91766?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-91766 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PHP Group PHPfrom 8.2.* before 8.2.34
PHP Group PHPfrom 8.3.* before 8.3.35
PHP Group PHPfrom 8.4.* before 8.4.26
PHP Group PHPfrom 8.5.* before 8.5.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12php8.28.2.34-1~deb12u1DEBIAN-CVE-2026-91766
Debian13php8.48.4.26-1~deb13u1DEBIAN-CVE-2026-91766
Debian14php8.48.4.26-1DEBIAN-CVE-2026-91766
Ubuntu22.04:LTSphp8.18.1.2-1ubuntu2.27UBUNTU-CVE-2026-91766 USN-8936-1
Ubuntu24.04:LTSphp8.38.3.6-0ubuntu0.24.04.12UBUNTU-CVE-2026-91766 USN-8936-1
Ubuntu26.04:LTSphp8.58.5.4-0ubuntu1.4UBUNTU-CVE-2026-91766 USN-8936-1
Ubuntu26.10php8.58.5.9-0ubuntu2UBUNTU-CVE-2026-91766 USN-8936-1
UbuntuPro:14.04:LTSphp55.5.9+dfsg-1ubuntu4.29+esm17UBUNTU-CVE-2026-91766 USN-8936-1
UbuntuPro:16.04:LTSphp7.07.0.33-0ubuntu0.16.04.16+esm21UBUNTU-CVE-2026-91766 USN-8936-1
UbuntuPro:18.04:LTSphp7.27.2.24-0ubuntu0.18.04.17+esm13UBUNTU-CVE-2026-91766 USN-8936-1
UbuntuPro:20.04:LTSphp7.47.4.3-4ubuntu2.29+esm4UBUNTU-CVE-2026-91766 USN-8936-1
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.18-1.module+el8.10.0+22485+a3539972RHSA-2026:87080
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.6.1-1.module+el8.10.0+22485+a3539972RHSA-2026:87080
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 51 more0:7.4.33-8.module+el8.10.0+25117+30337ccaRHSA-2026:87080
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.13-1.module+el8.10.0+22485+a3539972RHSA-2026:87080
Red Hatenterprise_linux:8::appstreamphp-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource0:2.0.1-1.module+el8.10.0+22485+a3539972RHSA-2026:87080
Red Hatenterprise_linux:8::appstreamphp-pecl-xdebug, php-pecl-xdebug-debuginfo, php-pecl-xdebug-debugsource0:2.9.5-1.module+el8.10.0+22485+a3539972RHSA-2026:87080
Red Hatenterprise_linux:8::appstreamphp-pecl-zip, php-pecl-zip-debuginfo, php-pecl-zip-debugsource0:1.18.2-1.module+el8.10.0+22485+a3539972RHSA-2026:87080
Red Hathummingbird:1php, php-gd, php-cli and 25 more0:8.5.11-2.hum1RHSA-2026:70720
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morephp8, php8-fpm, php8-embed and 2 more8.0.30-150400.4.76.1SUSE-SU-2026:4651-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morephp8-test8.0.30-150400.4.76.2SUSE-SU-2026:4651-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 5 morephp7, php7-fpm, php7-fastcgi and 1 more7.4.33-150400.4.81.1SUSE-SU-2026:4853-1
SUSELinux Enterprise Module for Legacy 15 SP7php7, apache2-mod_php77.4.33-150400.4.81.1SUSE-SU-2026:4853-1
SUSELinux Enterprise Module for Package Hub 15 SP7php7, php7-fpm, php7-embed and 2 more7.4.33-150400.4.81.1SUSE-SU-2026:4853-1
SUSELinux Enterprise Module for Package Hub 15 SP7php7-test7.4.33-150400.4.81.2SUSE-SU-2026:4853-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7php8, php8-fpm, php8-test and 3 more8.3.35-150700.3.21.1SUSE-SU-2026:4602-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6php8, php8-fpm, php8-test and 3 more8.2.34-150600.3.36.1SUSE-SU-2026:4603-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0php8, php8-fpm, php8-embed and 2 more8.4.26-160000.1.1SUSE-SU-2026:24158-1
openSUSELeap 16.0php8, php8-fpm, php8-test and 3 more8.4.26-160000.1.1openSUSE-SU-2026:22045-1
openSUSETumbleweedphp88.5.11-1.1openSUSE-SU-2026:11901-1
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2026:87080
AlmaLinux8libzip, libzip-devel1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2026:87080
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.10.0+3935+28808425ALSA-2026:87080
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.6.0+3239+bedf0508ALSA-2026:87080
AlmaLinux8php, php-gd, php-cli and 24 more7.4.33-8.module_el8.10.0+4321+cf5fd4bbALSA-2026:87080
AlmaLinux8php-pear1:1.10.13-1.module_el8.10.0+3935+28808425ALSA-2026:87080
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.10.0+3935+28808425ALSA-2026:87080
AlmaLinux8php-pecl-rrd2.0.1-1.module_el8.10.0+3935+28808425ALSA-2026:87080
AlmaLinux8php-pecl-rrd2.0.1-1.module_el8.6.0+2750+78feabcbALSA-2026:87080
AlmaLinux8php-pecl-rrd2.0.1-1.module_el8.6.0+3239+bedf0508ALSA-2026:87080
AlmaLinux8php-pecl-xdebug2.9.5-1.module_el8.6.0+2750+78feabcbALSA-2026:87080
AlmaLinux8php-pecl-xdebug2.9.5-1.module_el8.6.0+3239+bedf0508ALSA-2026:87080
3 more for AlmaLinux in the JSON.
Rocky Linux8libzip0:1.6.1-1.module+el8.10.0+1604+6558efc7RLSA-2026:87080
Rocky Linux8libzip0:1.6.1-1.module+el8.10.0+1912+72767185RLSA-2026:87080
Rocky Linux8php0:7.4.33-8.module+el8.10.0+40393+c071e357RLSA-2026:87080
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1604+6558efc7RLSA-2026:87080
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1605+02e07af7RLSA-2026:87080
Rocky Linux8php-pear1:1.10.13-1.module+el8.10.0+1912+72767185RLSA-2026:87080
Rocky Linux8php-pecl-apcu0:5.1.18-1.module+el8.10.0+1604+6558efc7RLSA-2026:87080
Rocky Linux8php-pecl-apcu0:5.1.18-1.module+el8.10.0+1912+72767185RLSA-2026:87080
Rocky Linux8php-pecl-rrd0:2.0.1-1.module+el8.10.0+1604+6558efc7RLSA-2026:87080
Rocky Linux8php-pecl-rrd0:2.0.1-1.module+el8.10.0+1912+72767185RLSA-2026:87080
Rocky Linux8php-pecl-rrd0:2.0.1-1.module+el8.4.0+414+2e7afcddRLSA-2026:87080
Rocky Linux8php-pecl-xdebug0:2.9.5-1.module+el8.10.0+1604+6558efc7RLSA-2026:87080
3 more for Rocky Linux in the JSON.
Alpinev3.22php828.2.35-r0ALPINE-CVE-2026-91766
Alpinev3.22, v3.23php838.3.36-r0ALPINE-CVE-2026-91766
Alpinev3.22, v3.23php848.4.27-r0ALPINE-CVE-2026-91766
Alpinev3.23php858.5.12-r0ALPINE-CVE-2026-91766
Alpinev3.24php838.3.35-r0ALPINE-CVE-2026-91766
Alpinev3.24php848.4.26-r0ALPINE-CVE-2026-91766
Alpinev3.24php858.5.11-r0ALPINE-CVE-2026-91766
Azure Linux3phpno fix listedAZL-104916
Alpaquita25, streamphp838.3.35-r0BELL-CVE-2026-91766

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate because PHP's HTTP stream wrapper can forward Authorization, Cookie, and Proxy-Authorization headers across cross-origin redirects, exposing credentials to an attacker-controlled redirect target. Attack complexity is elevated because the initial destination must issue a redirect that the client follows.

Red Hat's mitigation

Avoid placing long-lived credentials in HTTP stream context headers when follow_location is enabled; prefer short-lived tokens and same-origin redirect expectations. Restrict outbound HTTP(S) destinations from PHP applications to trusted hosts.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8php:7.4-8100020261021081045.f7998665Fixed 2026-10-21RHSA-2026:87080
Red Hat Hardened Imagesphp-main-8.5.11-2.hum1Fixed 2026-09-23RHSA-2026:70720
Red Hat Enterprise Linux 10phpFix deferred
Red Hat Enterprise Linux 10php8.4Fix deferred
Red Hat Enterprise Linux 6phpOut of support scope
Red Hat Enterprise Linux 7phpFix deferred
Red Hat Enterprise Linux 8php:8.2/phpFix deferred
Red Hat Enterprise Linux 9phpFix deferred
Red Hat Enterprise Linux 9php:8.2/phpFix deferred
Red Hat Enterprise Linux 9php:8.3/phpFix deferred
Red Hat Enterprise Linux 9php:8.4/phpFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-91766.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13), CWE-200 (59).

References

Check your stackJSON