CVE-2026-134792: Symfony Symfony/http-Client

High severity, CVSS 8.3. EPSS: 0.6% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Symfony Symfony/http-Client, from 4.3.0, before 5.4.57: fixed in 5.4.57
  • Symfony Symfony/http-Client, from 6.0.0, before 6.4.51: fixed in 6.4.51
  • Symfony Symfony/http-Client, from 7.0.0, before 7.4.24: fixed in 7.4.24
  • Symfony Symfony/http-Client, from 8.0.0, before 8.1.12: fixed in 8.1.12
  • Symfony Symfony/symfony, from 4.3.0, before 5.4.57: fixed in 5.4.57
  • Symfony Symfony/symfony, from 6.0.0, before 6.4.51: fixed in 6.4.51
  • Symfony Symfony/symfony, from 7.0.0, before 7.4.24: fixed in 7.4.24
  • Symfony Symfony/symfony, from 8.0.0, before 8.1.12: fixed in 8.1.12

Affected products

  • Symfony Symfony/http-Client: from 4.3.0, before 5.4.57 (fixed in 5.4.57); from 6.0.0, before 6.4.51 (fixed in 6.4.51); from 7.0.0, before 7.4.24 (fixed in 7.4.24); from 8.0.0, before 8.1.12 (fixed in 8.1.12)
  • Symfony Symfony/symfony: from 4.3.0, before 5.4.57 (fixed in 5.4.57); from 6.0.0, before 6.4.51 (fixed in 6.4.51); from 7.0.0, before 7.4.24 (fixed in 7.4.24); from 8.0.0, before 8.1.12 (fixed in 8.1.12)

Published 2026-11-25. Last modified 2026-11-25.