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

- Severity: High 8.2 (CVSS:4.0, scored by Checkmarx) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-04T17:43:34.806Z
- Modified: 2026-12-01T21:45:12.649Z
- Also known as: GHSA-gq53-v8w2-gjhj
- Weaknesses: CWE-200, CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Checkmarx

## 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.

(As written by CVE List.)

## Affected

- symfony/http-client: before 5.4.56; from 6.0.0 before 6.4.50; from 7.0.0 before 7.4.23; from 8.0.0 before 8.1.11
- symfony/http-client (Packagist): before 5.4.56; from 6.0.0 before 6.4.50; from 7.0.0 before 7.4.23; from 8.0.0 before 8.1.11
- symfony/symfony (Packagist): before 5.4.56; from 6.0.0 before 6.4.50; from 7.0.0 before 7.4.23; from 8.0.0 before 8.1.11

## Every score

- Checkmarx: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/symfony/symfony/security/advisories/GHSA-gq53-v8w2-gjhj> (third-party-advisory, web)
- <https://github.com/symfony/symfony/commit/64c34e85bd03b3f8a735d8e1af393659dda91d7c> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-121971> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2026-121971.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-121971.yaml> (web)
- <https://github.com/symfony/symfony> (package)
- <https://github.com/symfony/symfony/releases/tag/v5.4.56> (web)
- <https://github.com/symfony/symfony/releases/tag/v6.4.50> (web)
- <https://github.com/symfony/symfony/releases/tag/v7.4.23> (web)
- <https://github.com/symfony/symfony/releases/tag/v8.1.11> (web)

## Sources

- CVE List: [CVE-2026-121971](https://www.cve.org/CVERecord?id=CVE-2026-121971), CVE Terms of Use, modified 2026-11-05
- GitHub Advisory Database: [GHSA-gq53-v8w2-gjhj](https://github.com/advisories/GHSA-gq53-v8w2-gjhj), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-121971](https://nvd.nist.gov/vuln/detail/CVE-2026-121971), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-121971 · Whole record: https://cve.day/CVE-2026-121971.json · Rebuilt by cve.day 2026-12-01T21:57:11.441Z
