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

DevFeed: [CVE-2026-121971 - Symfony: ScopingHttpClient Sends the Credentials of Its Default Scope to Other Origins Through Network-Path References](<https://devfeed.tech/articles/cve-2026-121971-symfony-scopinghttpclient-sends-the-credentials-of-its-default-scope-to-other-origins-through-network-path-references-117654.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-121971>)

Author: cvefeed.io

Published: 2026-11-04T18:17:43Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Symfony](<https://devfeed.tech/topics/symfony.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-121971](<https://devfeed.tech/tags/cve-2026-121971.md>), [sensiolabs](<https://devfeed.tech/tags/sensiolabs.md>), [symfony](<https://devfeed.tech/tags/symfony.md>)

## AI overview

Symfony's ScopingHttpClient can disclose default-scope credentials when an attacker controls the start of a URL: a network-path reference such as `//evil.example/steal` is resolved to another origin after default authentication options have been merged, so those credentials are sent there. The excerpt says a fully absolute URL does not receive those options; a different port or user-info on the same host can also trigger the issue. It affects Symfony 5.x before 5.4.56, 6.x before 6.4.50, 7.x before 7.4.23, and 8.x before 8.1.11, including clients built with `base_uri` and credentials via `HttpClient::createForBaseUri()` or `framework.http_client.scoped_clients`. The described fix compares the resolved URL's scheme and authority with the base URI after resolution, using the parsing applied when sending the request. Severity is listed as 8.2 (High).

## Source excerpt

CVE ID :CVE-2026-121971 Published : Nov. 4, 2026, 6:17 p.m. | 1 hour, 20 minutes ago Description :The component ScopingHttpClient in Symfony HttpClient merges the options of its default scope (such as auth_bearer or auth_basic) into a request before resolving a relative URL against the base_uri, allowing a network-path reference such as "//evil.example/steal" to be sent to another origin together with the default scope's credentials, and resulting in potential disclosure of those credentials to an attacker-controlled server. This affects Symfony in versions 5.x prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. The resolved URL falls outside the origin of the base URI, yet it keeps the merged options, whereas the absolute spelling "https://evil.example/steal" receives none. The same happens with a different port or user-info part on the same host. This is reachable whenever an attacker controls the beginning of a URL passed to a client built with a base_uri and credentials, including those created with HttpClient::createForBaseUri() or configured under framework.http_client.scoped_clients. To solve the issue, after resolving a relative URL against the base URI of the default scope, ScopingHttpClient now compares the scheme and authority of the result with those of the base URI, parsed the way the request is sent. Severity: 8.2 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...