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

Summary

CVECVE-2026-134792
StatePUBLISHED
AssignerSymfony
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-25 10:17:14 UTC
Updated2026-11-25 20:18:36 UTC
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.

Risk And Classification

Primary CVSS: v4.0 8.3 HIGH from b5aa5c7f-767d-4597-9c64-3ac08b8711c6

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS: 0.006420000 probability, percentile 0.453600000 (date 2026-11-26)

Problem Types: CWE-15 | CWE-15 CWE-15 External Control of System or Configuration Setting


VersionSourceTypeScoreSeverityVector
4.0b5aa5c7f-767d-4597-9c64-3ac08b8711c6Secondary8.3HIGHCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/C...
4.0CNACVSS8.3HIGHCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Confidentiality
High
Integrity
Low
Availability
None
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Symfony Symfony/http-client affected 4.3.0 5.4.57 semver Not specified
CNA Symfony Symfony/http-client affected 6.0.0 6.4.51 semver Not specified
CNA Symfony Symfony/http-client affected 7.0.0 7.4.24 semver Not specified
CNA Symfony Symfony/http-client affected 8.0.0 8.1.12 semver Not specified
CNA Symfony Symfony/symfony affected 4.3.0 5.4.57 semver Not specified
CNA Symfony Symfony/symfony affected 6.0.0 6.4.51 semver Not specified
CNA Symfony Symfony/symfony affected 7.0.0 7.4.24 semver Not specified
CNA Symfony Symfony/symfony affected 8.0.0 8.1.12 semver Not specified

References

ReferenceSourceLinkTags
github.com/symfony/symfony/commit/3684fa9d43502edbd70406bdc94eae2d1aac5c97 b5aa5c7f-767d-4597-9c64-3ac08b8711c6 github.com
github.com/symfony/symfony/security/advisories/GHSA-cjfx-x9pc-q4rx b5aa5c7f-767d-4597-9c64-3ac08b8711c6 github.com
symfony.com/cve-2026-134792 b5aa5c7f-767d-4597-9c64-3ac08b8711c6 symfony.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Nicolas Grekas (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report