Insufficiently protected credentials in Symfony - CVE-2026-121971

 

Insufficiently protected credentials in Symfony - CVE-2026-121971

Published: December 1, 2026


Vulnerability identifier: #VU171468
CSH Severity: Medium
CVSS v4: 8.2 [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]
CVE-ID: CVE-2026-121971
CWE-ID: CWE-522
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to obtain credentials configured for the default scope of Symfony's HTTP client.

The vulnerability exists due to improper credential scoping in ScopingHttpClient when it applies default-scope options before resolving a network-path reference against the configured base URI. A remote attacker can influence the beginning of a request URL to cause default-scope credentials to be sent to an unintended host or port. The client also retains those credentials when the reference changes the user information on the same host or resolves to a URL that matches a different scope.

The flaw affects clients built through HttpClient::createForBaseUri() and scoped clients configured with a base_uri under framework.http_client.scoped_clients.


Affected software

Symfony

How to mitigate CVE-2026-121971

Install security update from vendor's website.

Symfony - update to 5.4.56

External References

Related Security Bulletins