# CVE-2026-134792: Other in symfony/http-client

> On the Symfony CLI SAPI, clients can set a Proxy header to make outgoing requests use a malicious proxy, stealing credentials and forging responses.

- **Severity:** High 8.3 (`CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** Yes (`HttpClient`, `NativeHttpClient`, `AmpHttpClient`)
- **Fix available:** No
- **Published:** 25 Nov 2026
- **Updated:** 25 Nov 2026
- **Also known as:** DEBIAN-CVE-2026-134792, GHSA-cjfx-x9pc-q4rx, UBUNTU-CVE-2026-134792

## What is CVE-2026-134792?

CVE-2026-134792 is a high-severity other vulnerability in symfony/http-client, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official 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.

Weakness: CWE-15 (External Control of System or Configuration Setting)

## Which versions are affected by CVE-2026-134792?

An affected version is only exploitable if your software calls HttpClient, NativeHttpClient or AmpHttpClient. Many projects that include it are not exposed.


## How do I fix CVE-2026-134792?

No fix has been published for CVE-2026-134792 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-134792 being exploited?

There is no known exploitation of CVE-2026-134792 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-134792 and fix it if it is affected.

What it is: CVE-2026-134792 is a high-severity other vulnerability in symfony/http-client, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-134792 in the wild and no public exploit code.
Exposure: An affected version is only exploitable if your software calls HttpClient, NativeHttpClient or AmpHttpClient. Many projects that include it are not exposed.

Affected product: symfony/http-client. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
   If an affected version is present, also search the code for calls to HttpClient, NativeHttpClient or AmpHttpClient and report whether any exist.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-134792/ (Markdown: https://insights.sbomify.com/CVE-2026-134792/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-134792
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-134792
- OSV: https://osv.dev/vulnerability/CVE-2026-134792

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-134792/
Summaries are generated and may contain mistakes; the official description above is the record.
