CVE-2026-133750
Published:November 25, 2026
Updated:November 29, 2026
Since Symfony 7.4, CachingHttpClient can cache the responses of HTTP clients, for example when caching is enabled in framework.http_client. Its withOptions() method passes the options to the decorated client only. So credentials set with withOptions(), like auth_bearer, auth_basic, an Authorization header or a Cookie header, reach the server, but CachingHttpClient doesn't see them. They're missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an Authorization header. A cacheable response fetched for one user is then served to the next users:
$client->withOptions(['auth_bearer' => $aliceToken])->request('GET', 'https://api.example.com/me'); // Alice's profile
$client->withOptions(['auth_bearer' => $bobToken])->request('GET', 'https://api.example.com/me'); // Alice's profile, from the cache
Applications are affected when they enable caching on a client, set per-user credentials with withOptions(), and request URLs whose responses are cacheable. Credentials passed to request() aren't affected.
Most other options set with withOptions() were ignored too when caching was enabled, because CachingHttpClient forwarded each request with its own defaults. This includes max_redirects, proxy, peer_fingerprint, local_cert, timeout, on_progress and body.
CachingHttpClient::withOptions() now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like max_retries, are still passed to them only.
Client certificates, proxies and auth_ntlm are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don't get the responses of each other anymore.
Affected Packages
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1Fix Suggestion:
Update to version v8.2.0-RC1https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12Fix Suggestion:
Update to version v8.1.12https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v7.4.0-BETA1 <v7.4.24Fix Suggestion:
Update to version v7.4.24symfony/symfony (PHP):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1Fix Suggestion:
Update to version v8.2.0-RC1symfony/symfony (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12Fix Suggestion:
Update to version v8.1.12symfony/http-client (PHP):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1Fix Suggestion:
Update to version v8.2.0-RC1symfony/symfony (PHP):
Affected version(s) >=v7.4.0-BETA1 <v7.4.24Fix Suggestion:
Update to version v7.4.24symfony/http-client (PHP):
Affected version(s) >=v7.4.0-BETA1 <v7.4.24Fix Suggestion:
Update to version v7.4.24symfony/http-client (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12Fix Suggestion:
Update to version v8.1.12Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Use of Cache Containing Sensitive Information
EPSS
Base Score:
0.43