home / blog

2026-12-02 · high

CVE-2026-121971: Vulnerability in Symfony HttpClient

Credential disclosure vulnerability in Symfony HttpClient through crafted URLs. CVSS 8.2. Patches available.

CVE-2026-121971: Vulnerability in Symfony HttpClient

CVE-2026-121971 is a critical vulnerability in the ScopingHttpClient component of Symfony HttpClient that 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, resulting in potential disclosure of those credentials to an attacker-controlled server.

The vulnerability has a CVSS score of 8.2, classifying it as high. Public repositories containing exploits and Proof of Concept have been identified. The vulnerability is officially confirmed and patches are available in the mentioned versions. It is currently not reported to be actively exploited, but it is crucial to apply patches as soon as possible to prevent potential compromises.

IT teams should immediately check the versions of Symfony used in their applications. If vulnerable versions are in use, they must be updated immediately to the patched versions. For applications that cannot be updated right away, it is recommended to review the HttpClient configuration to avoid using sensitive credentials in default scopes when handling potentially untrusted URLs.

At a glance

What
Vulnerability in Symfony HttpClient allowing credential disclosure
Severity
High (CVSS 8.2)
Affected versions
Symfony 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
Fix
Update to patched versions
Status
Confirmed
Action
Apply patches as soon as available

Sources: NVD, CVE-2026-121971

← All articles