cve.bz

CVE-2026-133750 CachingHttpClient Shares Responses Between Users When Credentials Are Set With withOptions()

6.3 mediumFix available

Medium (6.3) in symfony.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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
CWE
CWE-524 Use of Cache Containing Sensitive Information
Published
Assigned by
Symfony (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-133750 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-133750?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-133750?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-133750 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
symfony/http-clientfrom 7.4.0 before 7.4.24
symfony/http-clientfrom 8.0.0 before 8.1.12
symfony/symfonyfrom 7.4.0 before 7.4.24
symfony/symfonyfrom 8.0.0 before 8.1.12

Attack patterns (CAPEC)

  • CAPEC-204 Lifting Sensitive Data Embedded in Cache Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON