CVE-2026-134792
Received
Received - Intake
Proxy Header Spoofing in Symfony HTTP Clients
Vulnerability report for CVE-2026-134792, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-25
Last updated on: 2026-11-25
Assigner: b5aa5c7f-767d-4597-9c64-3ac08b8711c6
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| Symfony | symfony/http-client | From 4.3.0 (inc) to 5.4.57 (exc) |
| Symfony | symfony/http-client | From 6.0.0 (inc) to 6.4.51 (exc) |
| Symfony | symfony/http-client | From 7.0.0 (inc) to 7.4.24 (exc) |
| Symfony | symfony/http-client | From 8.0.0 (inc) to 8.1.12 (exc) |
| Symfony | symfony/symfony | From 4.3.0 (inc) to 5.4.57 (exc) |
| Symfony | symfony/symfony | From 6.0.0 (inc) to 6.4.51 (exc) |
| Symfony | symfony/symfony | From 7.0.0 (inc) to 7.4.24 (exc) |
| Symfony | symfony/symfony | From 8.0.0 (inc) to 8.1.12 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-15 | One or more system settings or configuration elements can be externally controlled by a user. |