Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134792: high-severity vulnerability (CVSS 8.3) in Symfony symfony/http-client.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.3.
Affected products and versions
Symfony symfony/http-client >= 4.3.0, < 5.4.57; Symfony symfony/http-client >= 6.0.0, < 6.4.51; Symfony symfony/http-client >= 7.0.0, < 7.4.24; Symfony symfony/http-client >= 8.0.0, < 8.1.12; Symfony symfony/symfony >= 4.3.0, < 5.4.57; Symfony symfony/symfony >= 6.0.0, < 6.4.51; Symfony symfony/symfony >= 7.0.0, < 7.4.24; Symfony symfony/symfony >= 8.0.0, < 8.1.12
| Product | Versions | Fixed in |
|---|---|---|
| Symfony symfony/http-client | >= 4.3.0, < 5.4.57 | — |
| Symfony symfony/http-client | >= 6.0.0, < 6.4.51 | — |
| Symfony symfony/http-client | >= 7.0.0, < 7.4.24 | — |
| Symfony symfony/http-client | >= 8.0.0, < 8.1.12 | — |
| Symfony symfony/symfony | >= 4.3.0, < 5.4.57 | — |
| Symfony symfony/symfony | >= 6.0.0, < 6.4.51 | — |
| Symfony symfony/symfony | >= 7.0.0, < 7.4.24 | — |
| Symfony symfony/symfony | >= 8.0.0, < 8.1.12 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://symfony.com/cve-2026-134792 — CVE Program
- https://github.com/symfony/symfony/security/advisories/GHSA-cjfx-x9pc-q4rx — CVE Program
- https://github.com/symfony/symfony/commit/3684fa9d43502edbd70406bdc94eae2d1aac5c97 — CVE Program
Weaknesses (CWE): CWE-15
Relevant change history
Published
Preliminary advisory published.