Symfony HTTP Client request interception via proxy header in CLI workers
Affects symfony/http-client and symfony/symfony from 4.3 to before 5.4.57, 6.4.51, 7.4.24 and 8.1.12, in HTTP workers under the CLI SAPI with no proxy option set. Fixed in 5.4.57, 6.4.51, 7.4.24 and 8.1.12.
- Exploited
- No known exploitation
- Fix
- Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12
- Who is exposed
- Not reported
Summary
Written by a model
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.
Who should check
Teams running Symfony HTTP Client on HTTP workers under the CLI SAPI, such as RoadRunner (spiral/roadrunner-http), roadrunner-bundle or php-pm.
“HTTP workers that run under the CLI SAPI put the headers of each request in $_SERVER too.”
What to do
Upgrade to a fixed version: 5.4.57, 6.4.51, 7.4.24, 8.1.12.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-134792 (HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in HTTP Workers That Run Under the CLI SAPI), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-134792 (entry last updated 2026-11-25):
Affected:
- Packagist package symfony/http-client: from 4.3.0, fixed in 5.4.57; from 6.0.0, fixed in 6.4.51; from 7.0.0, fixed in 7.4.24; from 8.0.0, fixed in 8.1.12
- Packagist package symfony/symfony: from 4.3.0, fixed in 5.4.57; from 6.0.0, fixed in 6.4.51; from 7.0.0, fixed in 7.4.24; from 8.0.0, fixed in 8.1.12
Fixed versions: 5.4.57, 6.4.51, 7.4.24, 8.1.12.
Conditions (all must be true for the bug to be hit):
- Application runs an HTTP worker under the CLI SAPI that puts each request's headers in $_SERVER, such as spiral/roadrunner-http, baldinof/roadrunner-bundle or php-pm. (source: https://symfony.com/blog/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests-in-cli-sapi-http-workers)
- The HttpClient proxy option is not set, so the proxy is taken from environment variables. (source: https://symfony.com/blog/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests-in-cli-sapi-http-workers)
- Symfony HTTP Client versions from 4.3 to before 5.4.57, 6.4.51, 7.4.24 and 8.1.12 (per branch) are affected. (source: https://symfony.com/blog/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests-in-cli-sapi-http-workers)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-134792 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-134792 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Packagist): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://symfony.com/cve-2026-134792
- https://github.com/symfony/symfony/security/advisories/GHSA-cjfx-x9pc-q4rx
- https://github.com/symfony/symfony/commit/3684fa9d43502edbd70406bdc94eae2d1aac5c97
- https://symfony.com/blog/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests-in-cli-sapi-http-workers
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-134792
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-134792"}.Affected versions
cve.now Index
- Exploitation0/40No signal
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach10/20Affects Packagist packages
- Severity8.3/10CVSS 8.3
- No patch0/5No signal
What would change the score
- Would score about 80 if added to CISA KEV
- Would score about 75 if CISA's SSVC rates exploitation active
- Would score about 40 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Evidence 5
| Kind | Source |
|---|---|
| Vendor advisory 2Establishes: Affected and fixed versions. | |
| Advisory | symfony.com · cve-2026-134792 |
| Advisory | GitHub · symfony/symfony · Advisory GHSA-cjfx-x9pc-q4rx |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-134792 |
| Record | NVD · CVE-2026-134792 |
| Other links 1 | |
| Patch | GitHub · symfony/symfony · Commit 3684fa9d |
Questions about CVE-2026-134792
Is CVE-2026-134792 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A request header can choose which proxy the application's outgoing HTTP requests go through when the proxy option is not set. The chosen proxy then receives the full http:// requests, including their credentials, and can forge the responses; for https:// URLs it learns the host and port.
Source: symfony.com
Which versions are affected by CVE-2026-134792?
symfony/http-client (Packagist): from 4.3.0 before 5.4.57; from 6.0.0 before 6.4.51; from 7.0.0 before 7.4.24; from 8.0.0 before 8.1.12. symfony/symfony (Packagist): from 4.3.0 before 5.4.57; from 6.0.0 before 6.4.51; from 7.0.0 before 7.4.24; from 8.0.0 before 8.1.12.
Source: cve.now feed data
Am I affected, and how do I check?
Affected are symfony/http-client and symfony/symfony from 4.3 up to before 5.4.57, 6.4.51, 7.4.24 and 8.1.12 (per branch). The setup also needs an HTTP worker running under the CLI SAPI that puts each request's headers in $_SERVER, such as spiral/roadrunner-http, baldinof/roadrunner-bundle or php-pm, and an HttpClient proxy option that is not set. Check the installed version with composer show symfony/http-client and look for the proxy option in the HttpClient configuration.
Source: symfony.com
How do I fix CVE-2026-134792?
Upgrade symfony/http-client to 5.4.57, 6.4.51, 7.4.24 or 8.1.12, matching your branch. The vendor's fix is the version upgrade; no patch ids are named.
Source: symfony.com
Related
- CVE-2026-134791Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process
- CVE-2026-133761CsvEncoder Nests Rows Once per Key Separator of a Header, Letting a Small CSV Payload Crash PHP
- CVE-2026-133760Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It
- CVE-2026-133757NoPrivateNetworkHttpClient Sends the Default Credentials of the Client It Decorates to Other Origins on Redirects
- CVE-2026-133759Doctrine Remember-Me Token Provider Accepts Outdated Tokens Under the Series of Their Copy, Also After Logout
- CVE-2026-133758NoPrivateNetworkHttpClient Makes the Client It Decorates Ignore Its Own Default Options, Like Certificate Pinning
No corrections so far. Something wrong on this page? Report an error.