All vulnerabilities

Packagist · Servers and applications

CVE-2026-133750

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

Severity
Medium 6.3
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
7.4.24, 8.1.12
Exploit chance
0.3% in the next 30 daysHigher than 17% of CVEs. EPSS by FIRST, 25 Nov 2026
Weakness
CWE-524
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data
CVSS vector
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
Also known as
GHSA-28vh-p99h-pqc7
Sources
CVE Program, Project advisories (GitHub)

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:

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.

From symfony/symfony's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
SymfonyServers and applications · github:symfony/symfony
  • From 7.4 before 7.4.24
  • From 8 before 8.1.12
symfony/http-clientPackagist · osv:Packagist:symfony/http-client
  • From 7.4.0 before 7.4.24
  • From 8.0.0 before 8.1.12
SymfonyPackagist · osv:Packagist:symfony/symfony
  • From 7.4.0 before 7.4.24
  • From 8.0.0 before 8.1.12

About Symfony

PHP web application framework for MVC applications

From Wikidata, CC0 1.0.
Developers who used it in the past year
4%Stack Overflow Developer Survey 2025, 2025
Monthly downloads (Packagist)
315,437Packagist, 22 Nov 2026
Total downloads (Packagist)
88,509,675Packagist, 22 Nov 2026
GitHub stars
31,457GitHub, 22 Nov 2026
Forks
9,960GitHub, 22 Nov 2026
Latest release
v8.2.0-BETA2GitHub, 22 Nov 2026
Released
13 Nov 2026GitHub
Developer
SensioLabsWikidata
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
22 Oct 2005Wikidata
First published on GitHub
4 Jan 2010GitHub

Release lines

ReleaseLatestSecurity fixes
8.18.1.11Until 31 Jan 2027
8.08.0.16Ended 31 Jul 2026
7.4 (LTS)LTS7.4.23Until 30 Nov 2029
7.37.3.11Ended 31 Jan 2026
7.27.2.9Ended 31 Jul 2025
7.17.1.11Ended 31 Jan 2025

From endoflife.date.

About symfony/http-client

Monthly downloads (Packagist)
17,771,740Packagist, 24 Nov 2026
Total downloads (Packagist)
399,135,484Packagist, 24 Nov 2026

References