CVE-2026-134792

8.3High

Published Nov 25, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.3CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on confidentiality
Weakness
CWE-15

What an attacker gets

Remote attackers can intercept or redirect outgoing HTTP requests by injecting a Proxy header. This requires the application to run under a CLI SAPI like RoadRunner or PHP-PM.

Root cause

The library incorrectly reads the HTTP_PROXY environment variable from the $_SERVER superglobal, which can be polluted by incoming request headers in CLI-based web servers.

Affected versions

NativeHttpClient 4.3.0+, AmpHttpClient 5.1.0+, CurlHttpClient 4.4.40+, 5.4.7+, and 6.0.7+

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade to the latest Symfony release. If you cannot patch immediately, unset the HTTP_PROXY environment variable in your application's entry point or server configuration.

remediation — bash
$ composer update symfony/http-client

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

When the proxy option isn't set, HttpClient takes the proxy from environment variables like http_proxy or HTTP_PROXY. On web servers, it ignores HTTP_PROXY, because PHP puts the Proxy request header there (the httpoxy issue). On the CLI SAPI, it read HTTP_PROXY from $_SERVER, where PHP also puts the environment. HTTP workers that run under the CLI SAPI put the headers of each request in $_SERVER too. This is the case of spiral/roadrunner-http, which the RoadRunner runner of php-runtime uses, and of baldinof/roadrunner-bundle and php-pm. A client could then send a Proxy header to choose the proxy of the requests that the application sent while handling its request. That proxy received the full requests to http:// URLs, with their credentials, and could forge the responses. For https:// URLs, it learned the host and port through CONNECT. NativeHttpClient is affected since Symfony 4.3.0, AmpHttpClient since 5.1.0, and CurlHttpClient since 4.4.40, 5.4.7 and 6.0.7. On the CLI SAPI, HTTP_PROXY is now read from the environment with $_ENV and getenv(), never from $_SERVER. Other SAPIs still ignore it.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-134792

More fully triaged vulnerabilities you may want to check next.