{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133757","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.158Z","datePublished":"2026-11-25T10:00:16.575Z","dateUpdated":"2026-11-25T10:00:16.575Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-25T10:00:16.575Z"},"title":"NoPrivateNetworkHttpClient Sends the Default Credentials of the Client It Decorates to Other Origins on Redirects","datePublic":"2026-11-25T09:36:29.000Z","descriptions":[{"lang":"en","value":"Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient follows redirects itself, and sends each hop as a new request through the client it decorates. Before a redirect to another origin, it removes the Authorization and Cookie headers it knows about. But the decorated client then added its own default options again. These include the auth_basic, auth_bearer and auth_ntlm credentials, and the Authorization and Cookie headers it was created with. Credentials set with withOptions() on the decorator came back the same way, since the decorator forwards them to the decorated client.\n\nThese credentials were then sent to any origin that a response redirected to, for example through an open redirect on the server the application calls. The decorated client alone doesn't send them. The decorator removed the ones passed to request(), but not auth_ntlm. Since Symfony 8.1, DnsResolvingHttpClient follows redirects the same way and is affected too.\n\nWith auth_ntlm, curl started the NTLM handshake with the other origin, which could answer with a challenge to get the NTLM response of the application.\n\nOn a redirect to another origin, the decorator now passes empty Authorization and Cookie headers and unsets the auth_basic, auth_bearer and auth_ntlm options. The decorated client then can't add its own. Decorators between NoPrivateNetworkHttpClient and the transport, like ScopingHttpClient or CachingHttpClient, can't add theirs either.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, `NoPrivateNetworkHttpClient` follows redirects itself, and sends each hop as a new request through the client it decorates. Before a redirect to another origin, it removes the `Authorization` and `Cookie` headers it knows about. But the decorated client then added its own default options again. These include the `auth_basic`, `auth_bearer` and `auth_ntlm` credentials, and the `Authorization` and `Cookie` headers it was created with. Credentials set with `withOptions()` on the decorator came back the same way, since the decorator forwards them to the decorated client.\n\nThese credentials were then sent to any origin that a response redirected to, for example through an open redirect on the server the application calls. The decorated client alone doesn't send them. The decorator removed the ones passed to `request()`, but not `auth_ntlm`. Since Symfony 8.1, `DnsResolvingHttpClient` follows redirects the same way and is affected too.\n\nWith `auth_ntlm`, curl started the NTLM handshake with the other origin, which could answer with a challenge to get the NTLM response of the application.\n\nOn a redirect to another origin, the decorator now passes empty `Authorization` and `Cookie` headers and unsets the `auth_basic`, `auth_bearer` and `auth_ntlm` options. The decorated client then can't add its own. Decorators between `NoPrivateNetworkHttpClient` and the transport, like `ScopingHttpClient` or `CachingHttpClient`, can't add theirs either."}]}],"affected":[{"vendor":"Symfony","product":"symfony/http-client","collectionURL":"https://packagist.org","packageName":"symfony/http-client","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"5.4.48","status":"affected","lessThan":"5.4.57","versionType":"semver"},{"version":"6.4.16","status":"affected","lessThan":"6.4.51","versionType":"semver"},{"version":"7.1.9","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":"5.4.48","status":"affected","lessThan":"5.4.57","versionType":"semver"},{"version":"6.4.16","status":"affected","lessThan":"6.4.51","versionType":"semver"},{"version":"7.1.9","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:H/VI:N/VA:N/SC:N/SI:N/SA:N","baseScore":8.2,"baseSeverity":"HIGH"}}],"references":[{"url":"https://symfony.com/cve-2026-133757","name":"CVE-2026-133757","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-v6qm-94rx-6x93","name":"GHSA-v6qm-94rx-6x93","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/commit/afcb6b3edbb86cb104d5e0d229b9a717e4d7a044","tags":["patch"]}],"credits":[{"lang":"en","value":"Vincent Cassiau (CyberVanguard)","type":"finder"},{"lang":"en","value":"Nicolas Grekas","type":"remediation developer"},{"lang":"en","value":"Jack Worman","type":"finder"},{"lang":"en","value":"Amimul Ihsan","type":"finder"}],"source":{"advisory":"GHSA-v6qm-94rx-6x93","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}