Security mailing lists by PureSourceCode

CVE-2026-133750

MEDIUM 6.3CVSS 4.0

CachingHttpClient Shares Responses Between Users When Credentials Are Set With withOptions()

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.

Published
25 Nov 2026
Last modified
1 Dec 2026
Assigned by
b5aa5c7f-767d-4597-9c64-3ac08b8711c6
NVD status
Awaiting Analysis
Weakness
CWE-524
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD b5aa5c7f-767d-4597-9c64-3ac08b8711c6 (Secondary) CVSS 4.0 MEDIUM 6.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List Symfony CVSS 4.0 MEDIUM 6.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://packagist.org symfony/http-client >= 7.4.0, < 7.4.24; >= 8.0.0, < 8.1.12 7.4.24, 8.1.12
CVE List https://packagist.org symfony/symfony >= 7.4.0, < 7.4.24; >= 8.0.0, < 8.1.12 7.4.24, 8.1.12

References

History

  • 1 Dec 2026 17:18 UTC · NVD: updated (other details)
  • 1 Dec 2026 17:09 UTC · CVE List: updated (other details)
  • 30 Nov 2026 15:31 UTC · NVD: status Received → Awaiting Analysis
  • 25 Nov 2026 20:55 UTC · CVE List: first stored (published 25 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 25 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.