CVE-2026-134792symfony/http-client External Control of System or Configuration Setting
NVD
Vulnerability Summary
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.
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 v4.0 Base Metrics — Score 8.3 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- symfony/http-client >= 4.3.0 and < 5.4.57
- symfony/http-client >= 6.0.0 and < 6.4.51
- symfony/http-client >= 7.0.0 and < 7.4.24
- symfony/http-client >= 8.0.0 and < 8.1.12
- symfony/symfony >= 4.3.0 and < 5.4.57
- symfony/symfony >= 6.0.0 and < 6.4.51
- symfony/symfony >= 7.0.0 and < 7.4.24
- symfony/symfony >= 8.0.0 and < 8.1.12
- symfony/http-client 5.4.57
- symfony/http-client 6.4.51
- symfony/http-client 7.4.24
- symfony/http-client 8.1.12
- symfony/symfony 5.4.57
- symfony/symfony 6.4.51
- symfony/symfony 7.4.24
- symfony/symfony 8.1.12
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run symfony/http-client and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 25, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new symfony/http-client CVEsYou are reading CVE-2026-134792. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 25, 2026 09:41 UTC