CVE-2026-121971: Symfony HttpClient - Credential Disclosure
- Cve: CVE-2026-121971
- Name: Symfony HttpClient - Credential Disclosure
- 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.
- Impact: Attackers can obtain default scope credentials (such as auth_bearer or auth_basic) by redirecting requests to an attacker-controlled server, potentially leading to unauthorized access.
- Remediation: Upgrade to Symfony 5.4.56, 6.4.50, 7.4.23, 8.1.11 or later.
- Vulnerability impact: information_disclosure
- Requirements: Attacker controls the beginning of a URL passed to a client built with base_uri and credentials
- Labels source: securitycontext
- Severity: high
- Cvss score: 8.2
- Cvss vector: 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/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 score: 0.00249
- Epss percentile: 0.16159
- Assignee: 596c5446-0ce5-4ba2-aa66-48b3b757a647
- Published at: 2026-11-04T18:17:43Z
- Age in days: 20
- Modified at: 2026-11-06T21:40:43Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-121971
- Nvd status: awaiting_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/symfony/symfony/commit/64c34e85bd03b3f8a735d8e1af393659dda91d7c | nvd | |
| https://github.com/symfony/symfony/security/advisories/GHSA-gq53-v8w2-gjhj | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sensiolabs:symfony | >= 8.0.0, < 8.1.11; >= 7.0.0, < 7.4.23; >= 6.0.0, < 6.4.50; >= 0, < 5.4.56 | no | cna | /v1/products/sensiolabs/symfony |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| symfony/symfony | commit, fix, security_advisory | yes | /v1/repositories/symfony/symfony |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 168779
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports