# GHSA-V6QM-94RX-6X93: NoPrivateNetworkHttpClient Sends the Default Credentials of the Client It Decorates to Other Origins on Redirects

- Database: GitHub
- Severity: CVSS 8.2 (High)
- Published: 2026-11-25
- Modified: 2026-11-25

## Tracked as

- [CVE-2026-133757](https://cve.now/CVE-2026-133757.md): Symfony HTTP Client information disclosure in NoPrivateNetworkHttpClient

## Affected versions

- symfony/http-client (Packagist): from 5.4.48, fixed in 5.4.57
- symfony/symfony (Packagist): from 5.4.48, fixed in 5.4.57
- symfony/http-client (Packagist): from 6.4.16, fixed in 6.4.51
- symfony/symfony (Packagist): from 6.4.16, fixed in 6.4.51
- symfony/http-client (Packagist): from 7.1.9, fixed in 7.4.24
- symfony/symfony (Packagist): from 7.1.9, fixed in 7.4.24
- symfony/http-client (Packagist): from 8, fixed in 8.1.12
- symfony/symfony (Packagist): from 8, fixed in 8.1.12

## Description

### Description

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.

These 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.

With `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.

### Resolution

On 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.

The patch for this issue is available [here](https://github.com/symfony/symfony/commit/afcb6b3edbb86cb104d5e0d229b9a717e4d7a044) for branch 5.4 (and forward-ported to 6.4, 7.4, 8.1 and 8.2).

### Credits

We would like to thank [Vincent Cassiau](https://github.com/VincentCassiau) (CyberVanguard) for reporting the issue, [Jack Worman](https://github.com/jack-worman) and [Amimul Ihsan](https://github.com/aimahdi) for reporting it independently, and Nicolas Grekas for providing the fix.

## References

- https://github.com/symfony/symfony/security/advisories/GHSA-v6qm-94rx-6x93

Page: https://cve.now/GHSA-V6QM-94RX-6X93

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
