CVE-2026-133750 CachingHttpClient Shares Responses Between Users When Credentials Are Set With withOptions()
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHPUbuntuDebian
Description
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.
Upgrade path
7 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/symfony(Debian 14) | = 6.4.21+dfsg-2; = 6.4.24+dfsg-1; = 6.4.25+dfsg-1; = 7.0.4+dfsg-1 +99 more | No fix listed | No fix yet |
| ubuntu/symfony(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/symfony(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/symfony(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/symfony(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| symfony/http-client(Packagist) | >= 7.4.0, < 7.4.24; >= 8.0.0, < 8.1.12 | 7.4.24, 8.1.12 | Fixed |
| symfony/symfony(Packagist) | >= 7.4.0, < 7.4.24; >= 8.0.0, < 8.1.12 | 7.4.24, 8.1.12 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| symfony/http-client(Packagist) | >= 7.4.0, < 7.4.24 | 7.4.24 |
| symfony/http-client(Packagist) | >= 8.0.0, < 8.1.12 | 8.1.12 |
| symfony/symfony(Packagist) | >= 7.4.0, < 7.4.24 | 7.4.24 |
| symfony/symfony(Packagist) | >= 8.0.0, < 8.1.12 | 8.1.12 |
| ubuntu/symfony(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/symfony(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/symfony(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/symfony(Ubuntu:26.10) | All versions | No fix listed |
| debian/symfony(Debian:14) | All versions | No fix listed |
| debian/symfony(Debian:14) | = 6.4.21+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 6.4.24+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 6.4.25+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.0.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.0.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.0.6+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.0.7+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.0~beta1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.0~rc1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.1.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.0~beta1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.0~beta2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.0~rc1+dfsg-1 | No fix listed |
Show 86 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/symfony(Debian:14) | = 7.2.1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.2.6-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.0+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.0~beta1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.0~beta2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.0~rc1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.3.5-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta1-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta1-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta2+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~beta2+dfsg-3 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~rc1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~rc2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.0~rc3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.10+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.12+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.13+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.13+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.14+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.15+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.15+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.16+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.17+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.18+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.19+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.2+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.20+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.21+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.21+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.22+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.23+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.23+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.24+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.25+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.6+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.6+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.7+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.8+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 7.4.9+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.0+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.0~beta2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.0~beta2+dfsg-2 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.0~rc1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.0~rc2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.0~rc3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.10-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.11+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.12+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.13+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.6+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.7+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.8+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.0.9+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.0+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.10+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.11+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.3+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.4+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.5+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.6+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.7+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.8+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.1.9+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.2.0~beta1+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.2.0~beta2+dfsg-1 | No fix listed |
| debian/symfony(Debian:14) | = 8.2.0~rc1+dfsg-1 | No fix listed |
References
- CVE-2026-133750 vendor-advisory
- GHSA-28vh-p99h-pqc7 vendor-advisory
- github.com patch
- ENISA EUVD EUVD-2026-135239 third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2026-133750 vendor-advisory