CVE-2026-134792

NameCVE-2026-134792
DescriptionWhen 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6668-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
symfony (PTS)bookworm, bookworm (security)5.4.53+dfsg-0+deb12u1vulnerable
trixie6.4.50+dfsg-0+deb13u1vulnerable
trixie (security)6.4.51+dfsg-0+deb13u1fixed
forky7.4.23+dfsg-2vulnerable
sid7.4.25+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
symfonysourcetrixie6.4.51+dfsg-0+deb13u1DSA-6668-1
symfonysource(unstable)7.4.24+dfsg-1

Notes

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
https://github.com/symfony/symfony/security/advisories/GHSA-cjfx-x9pc-q4rx
https://github.com/symfony/symfony/commit/3684fa9d43502edbd70406bdc94eae2d1aac5c97 (v7.4.24)

Search for package or bug name: Reporting problems