Skip to content

Symfony

HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in HTTP Workers That Run Under the CLI SAPI

CVE-2026-134792Published 25 Nov 2026, 10:00 UTC

Real-world risk

3.1/ 10Low

Routine

If the vulnerable configuration applies to you: 6.8

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.3

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from Symfony)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
SymfonyWidespread>= 4.3.0, < 5.4.57; >= 6.0.0, < 6.4.51; >= 7.0.0, < 7.4.24; >= 8.0.0, < 8.1.125.4.57, 6.4.51, 7.4.24, 8.1.12
symfony/http-clientNiche>= 4.3.0, < 5.4.57; >= 6.0.0, < 6.4.51; >= 7.0.0, < 7.4.24; >= 8.0.0, < 8.1.125.4.57, 6.4.51, 7.4.24, 8.1.12

What to do

Update to a fixed version: 5.4.57, 6.4.51, 7.4.24, 8.1.12.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.6% chance of exploitation in 30 days (percentile 52), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.450
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.45 × threat 0.853.060
  4. Rounded to one decimal between 0.1 and 103.1

How the score works

Exploitation and evidence timeline

  1. 25 Nov 2026 Published
  2. 3 Dec 2026 Risk 3.1 (cvss fallback)

Weakness

CWE-15

References

Get alerts for Symfony

Free email or text alerts when a vulnerability in Symfony reaches risk 8 or higher. Nothing else.