The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Thursday, 26 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

CVE-2026-133757: Symfony Redirect Leaks Credentials

By The Daily Byte ·26 Nov 2026 ·3 min read
Server racks in a server room at CERN

Symfony has fixed a high-severity flaw in its HTTP client that could send an application's login credentials to a completely different website. Tracked as CVE-2026-133757 and scored 8.2 under CVSS 4.0, the bug affects the NoPrivateNetworkHttpClient component, and the fix is in Symfony HTTP Client versions 5.4.57, 6.4.51, 7.4.24 and 8.1.12.

NoPrivateNetworkHttpClient is a wrapper that stops an application from making HTTP requests to private network addresses, a guard against server-side request forgery. Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0 it has followed redirects itself, sending each hop as a fresh request through the client it wraps. That is where the trouble starts. Before following a redirect to another origin, the wrapper strips the Authorization and Cookie headers it knows about. But the client underneath then added its own default options back in, including auth_basic, auth_bearer and auth_ntlm credentials and any Authorization or Cookie headers it was created with. Credentials set through withOptions() on the wrapper came back the same way, because the wrapper forwards them to the client it decorates.

The result is that credentials meant for one service could be delivered to any address a response redirects to. An attacker would need a way to make the application follow a redirect to a server they control, for example through an open redirect on the service the application calls. The decorated client on its own does not send the credentials, and the wrapper did remove the credentials passed directly to an individual request, but it did not remove auth_ntlm. With NTLM authentication, curl began the NTLM handshake with the other origin, which could answer with a challenge designed to capture the application's NTLM response. Since Symfony 8.1, DnsResolvingHttpClient follows redirects in the same way and is affected too.

Who is affected

The flaw affects Symfony HTTP Client versions from 5.4.48 up to but not including 5.4.57, from 6.4.16 up to but not including 6.4.51, from 7.1.9 up to but not including 7.4.24, and from 8.0 up to but not including 8.1.12. Applications are at risk when they use NoPrivateNetworkHttpClient, or DnsResolvingHttpClient on Symfony 8.1, with default credentials configured and call services that can redirect to other origins. No public exploit code has been observed, and the flaw does not appear in CISA's Known Exploited Vulnerabilities catalogue.

What the fix changes

On a redirect to another origin, the wrapper now passes empty Authorization and Cookie headers and unsets the auth_basic, auth_bearer and auth_ntlm options, so the decorated client has nothing of its own to add back. Decorators sitting between NoPrivateNetworkHttpClient and the transport, such as ScopingHttpClient or CachingHttpClient, cannot add their credentials either. The patch is available for branches 5.4, 6.4, 7.4, 8.1 and 8.2.

What to do now

Upgrade to Symfony HTTP Client 5.4.57, 6.4.51, 7.4.24 or 8.1.12, or a later patched release on the same branch. If an application called untrusted or redirecting services with default credentials configured, treat those credentials as potentially exposed: rotate API tokens and passwords, review server logs for redirects to unexpected origins, and check whether any NTLM-protected service was reachable from the affected client. The flaw was published on 25 November 2026, so there is no long window to assume the risk went unnoticed.

Source
Symfony Blog (vendor advisory) — https://symfony.com/cve-2026-133757