phpatch.com

← phpatch.com home

Symfony: ScopingHttpClient Sends the Credentials of Its Default Scope to Other Origins Through Network-Path References

High · fetched 2026-12-01

### Description `ScopingHttpClient` applies the options of a scope, such as `auth_bearer`, `auth_basic`, `headers` or `local_cert`, to the URLs that match that scope only. A relative URL is resolved against the `base_uri` of the default scope, and the options of that scope were merged before the URL was resolved. A network-path reference such as `//evil.example/steal` carries its own host: it resolves to a URL outside of the base URI's origin, which no scope matches, yet it kept the merged options, so the request was sent to that host with the credentials of the default scope.

Our analysis

Who is affected

This advisory is PHP-relevant but does not enumerate interpreter branches: it concerns a PHP application or component — the product named in the summary above. The affected versions and the fixed release to move to are stated in the remediation and the source advisory.

Exploitation status

Not KEV-listed in this record. In the source data for this record (retrieved 2026-12-01), the vulnerability was not listed in the CISA Known Exploited Vulnerabilities catalog. Read that narrowly: it means no catalogued exploitation at retrieval time, not that exploitation is impossible or unreported elsewhere.

Patch priority

Patch within days — this week, not this quarter. The drivers for this record: the source rates it High; it affects a PHP application component rather than the interpreter. If the affected system is internet-facing, treat it as immediate; the 24–72 hour handling above applies.

How this verdict is derived: from the fields on this page — the source advisory's severity and CVSS score, CISA KEV listing status and the affected-branch data — as retrieved 2026-12-01. It is a triage aid, not a substitute for the source advisory.

Remediation

Upgrade symfony/http-client to 5.4.56 or later. Upgrade symfony/http-client to 6.4.50 or later. Upgrade symfony/http-client to 7.4.23 or later.

Affected PHP branches

See the source advisory.

Check your site

Source: GitHub Global Security Advisories (Composer ecosystem) · retrieved 2026-12-01T19:20:11-05:00 · https://github.com/advisories/GHSA-gq53-v8w2-gjhj

← All threats