CVE-2026-133757: NoPrivateNetworkHttpClient Sends the Default Credentials of the Client It Decorates to Other Origins on Redirects

Published Nov 25, 2026
·
Updated

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 authbasic, authbearer and authntlm 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 authntlm. Since Symfony 8.1, DnsResolvingHttpClient follows redirects the same way and is affected too.

With authntlm, curl started the NTLM handshake with the other origin, which could answer with a challenge to get the NTLM response of the application.

On a redirect to another origin, the decorator now passes empty Authorization and Cookie headers and unsets the authbasic, authbearer and authntlm 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 Software

1 affected component
packagist/symfony/http-client>=5.4.48, >=6.4.16, >=7.1.9, >=7.2.0, >=8.1.0

Event History

Nov 25, 2026
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
DescriptionWeakness

Frequently Asked Questions

1

Which applications are exposed to credential disclosure?

Applications using NoPrivateNetworkHttpClient are exposed if the decorated client, or the decorator through withOptions(), has default auth_basic, auth_bearer, auth_ntlm, Authorization, or Cookie credentials configured. DnsResolvingHttpClient is also affected starting with Symfony 8.1 because it follows redirects in the same way.

2

What must an attacker control or influence to obtain credentials?

The application must make a request that redirects to a different origin. An attacker could exploit an open redirect on a server the application calls to cause the redirected request to be sent to an attacker-controlled origin.

3

Are credentials supplied directly to request() also leaked?

The decorator removed Authorization and Cookie headers passed directly to request() before a cross-origin redirect. However, auth_ntlm was not removed, and credentials configured as default options on the decorated client or forwarded through withOptions() could be added back to redirected requests.

4

What is the specific risk of configured NTLM authentication?

On a cross-origin redirect, curl could begin an NTLM handshake with the other origin. That origin could send a challenge and obtain the application's NTLM response.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203