{"id":"CVE-2026-134792","aliases":["GHSA-cjfx-x9pc-q4rx"],"title":"HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in HTTP Workers That Run Under the CLI SAPI","originalDescription":"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.\n\nHTTP 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.\n\nNativeHttpClient 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.\n\nOn the CLI SAPI, HTTP_PROXY is now read from the environment with $_ENV and getenv(), never from $_SERVER. Other SAPIs still ignore it.","severity":{"cvss":8.3,"vector":"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00642,"percentile":0.45403},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"symfony/http-client","range":">=4.3.0, <5.4.57","fixed":"5.4.57"},{"ecosystem":"unknown","name":"symfony/http-client","range":">=6.0.0, <6.4.51","fixed":"6.4.51"},{"ecosystem":"unknown","name":"symfony/http-client","range":">=7.0.0, <7.4.24","fixed":"7.4.24"},{"ecosystem":"unknown","name":"symfony/http-client","range":">=8.0.0, <8.1.12","fixed":"8.1.12"},{"ecosystem":"unknown","name":"symfony/symfony","range":">=4.3.0, <5.4.57","fixed":"5.4.57"},{"ecosystem":"unknown","name":"symfony/symfony","range":">=6.0.0, <6.4.51","fixed":"6.4.51"},{"ecosystem":"unknown","name":"symfony/symfony","range":">=7.0.0, <7.4.24","fixed":"7.4.24"},{"ecosystem":"unknown","name":"symfony/symfony","range":">=8.0.0, <8.1.12","fixed":"8.1.12"}],"references":[{"url":"https://symfony.com/cve-2026-134792","type":"vendor-advisory"},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-cjfx-x9pc-q4rx","type":"vendor-advisory"},{"url":"https://github.com/symfony/symfony/commit/3684fa9d43502edbd70406bdc94eae2d1aac5c97","type":"patch"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134792.json","type":"advisory"},{"url":"https://github.com/symfony/symfony","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134792","type":"advisory"},{"url":"https://packagist.org","type":"web"}],"sources":[{"name":"nvd","at":"2026-11-25T20:25:28.581Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134792","license":"NVD terms of use","firstSeenAt":"2026-11-25T10:24:15.245Z"},{"name":"osv","at":"2026-11-26T21:12:15.548Z","url":"https://osv.dev/vulnerability/CVE-2026-134792","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T12:03:51.675Z"},{"name":"cvelistV5","at":"2026-11-29T00:19:53.802Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134792","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T10:21:49.987Z"}],"firstSeenAt":"2026-11-25T10:21:49.987Z","publishedAt":"2026-11-25T10:00:23.614Z","modifiedAt":"2026-11-25T20:45:15.239Z"}