CVE-2026-121971
Last modified
CVE-2026-121971 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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.. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | < 5.4.56; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-121971?
How severe is CVE-2026-121971?
How do I fix CVE-2026-121971?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-121966Traefik 2.x before 2.11.60 and 3.x before 3.7.16 sends Forwa…8.7
- CVE-2026-121967Coder 2.28.0 before 2.29.22, 2.30.0 before 2.34.13, 2.35.0 b…4.9
- CVE-2026-121968Netrek-client-cow through 3.3.3 contains an out-of-bounds re…6.5
- CVE-2026-121969netrek-client-cow through 3.3.3 contains a stack-based buffe…6.5
- CVE-2026-12197A security flaw has been discovered in Ruijie EG105G-P 2.340…7.3
- CVE-2026-121970Pay with Vipps and MobilePay for WooCommerce (woo-vipps) bef…3.7
- CVE-2026-12198A weakness has been identified in Microweber up to 2.0.20. T…7.3
- CVE-2026-12199A vulnerability in `nltk.app.wordnet_app` up to version 3.9.…7.5
- CVE-2026-121993wePOS (Point Of Sale for WooCommerce) before 2.0.3 contains …4.3
- CVE-2026-121994A stack buffer overflow in the GDB client's remote protocol …8.8
- CVE-2026-121995A stack buffer overflow in the GDB client's tracepoint uploa…7.5
- CVE-2026-121996A length validation flaw in gdbserver's agent-expression par…8.2
Are you affected by CVE-2026-121971?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
