Insufficiently protected credentials in Symfony - CVE-2026-121971
Published: December 1, 2026
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.