Symfony: ScopingHttpClient Sends the Credentials of Its Default Scope to Other Origins Through Network-Path References
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/http-client | < 5.4.56 | 5.4.56 |
| composer:symfony/http-client | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/http-client | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/http-client | >= 8.0.0, < 8.1.11 | 8.1.11 |
| composer:symfony/symfony | < 5.4.56 | 5.4.56 |
Show all (8)
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/symfony | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 |
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 t…
Read on GitHub Advisory Database
On 12/02/2026, 06:25 AM, GitHub Advisory Database published "Symfony: ScopingHttpClient Sends the Credentials of Its Default Scope to Other Origins Through Network-Path References" (type: Advisory). Severity is "High" (high). Related technologies: PHP, Symfony. CVE: CVE-2026-121971.