HttpClient lets a Proxy header choose the proxy under the CLI SAPI
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
symfony/http-client and symfony/symfony from 4.3.0 before 5.4.57, from 6.0.0 before 6.4.51, from 7.0.0 before 7.4.24 and from 8.0.0 before 8.1.12 are affected. When no proxy option is set, HttpClient reads HTTP_PROXY from the server variables on the CLI SAPI, where HTTP workers also store the request headers, so a client can send a Proxy header to choose the proxy for the application's outgoing requests (CWE-15). A remote, unauthenticated attacker who can send requests to such an application can route its outgoing requests through a proxy they control, which receives the full requests to HTTP URLs and can forge the responses.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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 now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| symfony | symfony/http-client | 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 | 5.4.57, 6.4.51, 7.4.24, 8.1.12 | Patch available | CNA |
| symfony | symfony/symfony | 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 | 5.4.57, 6.4.51, 7.4.24, 8.1.12 | Patch available | CNA |
- symfony/http-client Vendorsymfony 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 Patch available CNA
- symfony/symfony Vendorsymfony 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 Patch available CNA
Remediation
Upgrade symfony/http-client and symfony/symfony to fixed version 5.4.57, 6.4.51, 7.4.24 or 8.1.12, matching the release line in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA symfony/http-client (Symfony) Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12
- Fix · CNA symfony/symfony (Symfony) Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
symfony/symfony 5.4.57, 6.4.51 and 2 more versions
13 records Highest priority Priority MEDIUM 2 MEDIUM, 11 LOW
Other records, highest priority first
- TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHPPriority MEDIUM 45
- TI-2026-98148 Nested short ternaries make the Symfony expression parser hangPriority MEDIUM 45
- TI-2026-98145 Credentials leak to other origins on redirect in Symfony HTTP clientPriority LOW 36
- Release ·
symfony/http-client 5.4.57, 6.4.51 and 2 more versions
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-98145 Credentials leak to other origins on redirect in Symfony HTTP clientPriority LOW 36
- TI-2026-98146 Symfony NoPrivateNetworkHttpClient drops default TLS trust optionsPriority LOW 28
Timeline
- 2026-11-25 Threatist record created from CVE-2026-134792
- 2026-11-26 EPSS moved to the below the 50th percentile
References
More symfony vulnerabilities
- TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
- TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
- TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
- TI-2022-08704 Symfony storing cookie headers in HttpCache CVSS 3.1HIGH 8.8
- TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHP CVSS 4.0HIGH 8.7
- TI-2026-98148 Nested short ternaries make the Symfony expression parser hang CVSS 4.0HIGH 8.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences