CVE-2026-134792HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- symfony/http-client: affected: 4.3.0 to before 5.4.57, 6.0.0 to before 6.4.51, 7.0.0 to before 7.4.24, 8.0.0 to before 8.1.12; fixed in
5.4.57,6.4.51,7.4.24,8.1.12 - symfony/symfony: affected: 4.3.0 to before 5.4.57, 6.0.0 to before 6.4.51, 7.0.0 to before 7.4.24, 8.0.0 to before 8.1.12; fixed in
5.4.57,6.4.51,7.4.24,8.1.12
Vendor advisories:
- https://symfony.com/cve-2026-134792 (vendor-advisory)
- https://github.com/symfony/symfony/security/advisories/GHSA-cjfx-x9pc-q4rx (vendor-advisory)
- https://github.com/symfony/symfony/commit/3684fa9d43502edbd70406bdc94eae2d1aac5c97 (patch)
References
- https://symfony.com/cve-2026-134792
- https://github.com/symfony/symfony/security/advisories/GHSA-cjfx-x9pc-q4rx
- https://github.com/symfony/symfony/commit/3684fa9d43502edbd70406bdc94eae2d1aac5c97
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.