Dežurni tim za incidente, 0–24: +385 98 1900 984NovoIR Retainer: tim ugovoren prije napada
HR · EN
Srednja 6.3CVE-2026-133750

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

Objavljeno 25. 11. 2026. · Ažurirano 25. 11. 2026. · symfony/http-client

Izvorni opis (engleski)

Za ovu ranjivost još nema našeg sažetka. Prikazujemo službeni opis proizvođača.

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.

Zahvaćeni proizvodi i verzije

Symfony symfony/http-client7.4.0 – < 7.4.24 · 8.0.0 – < 8.1.12Ispravljeno u: 7.4.24 · 8.1.12
Symfony symfony/symfony7.4.0 – < 7.4.24 · 8.0.0 – < 8.1.12Ispravljeno u: 7.4.24 · 8.1.12

CVSS vektor, objašnjeno

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

Put napada
Preko mreže (s interneta)
Složenost napada
Niska
Preduvjeti napada
Postoje
Potrebne ovlasti
Bez prijave
Interakcija korisnika
Nije potrebna
Povjerljivost
Nizak utjecaj
Integritet
Bez utjecaja
Dostupnost
Bez utjecaja

Vrsta slabosti (CWE)

  • CWE-524 Use of Cache Containing Sensitive Information

Reference

Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Sažetke piše AI uz pregled pravila; uvijek provjerite službenu objavu proizvođača.