Credentials leak to other origins on redirect in Symfony HTTP client
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-200.
Summary
The symfony/http-client and symfony/symfony packages from 5.4.48 before 5.4.57, from 6.4.16 before 6.4.51, from 7.1.9 before 7.4.24 and from 8.0.0 before 8.1.12 are affected. On a redirect to another origin, NoPrivateNetworkHttpClient re-adds the default credentials of the client it decorates, which exposes sensitive information (CWE-200, CWE-522). An attacker who controls a redirect target, for example through an open redirect on the server the application calls, can receive these Authorization and Cookie credentials and the auth_ntlm handshake can be started with that origin.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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. 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| symfony | symfony/http-client | 5.4.48 to before 5.4.57; 6.4.16 to before 6.4.51; 7.1.9 to before 7.4.24; 8.0.0 to before 8.1.12 | 5.4.57, 6.4.51, 7.4.24, 8.1.12 | Patch available | CNA |
| symfony | symfony/symfony | 5.4.48 to before 5.4.57; 6.4.16 to before 6.4.51; 7.1.9 to before 7.4.24; 8.0.0 to before 8.1.12 | 5.4.57, 6.4.51, 7.4.24, 8.1.12 | Patch available | CNA |
- symfony/http-client Vendorsymfony Affected 5.4.48 to before 5.4.57; 6.4.16 to before 6.4.51; 7.1.9 to before 7.4.24; 8.0.0 to before 8.1.12 Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12 Patch available CNA
- symfony/symfony Vendorsymfony Affected 5.4.48 to before 5.4.57; 6.4.16 to before 6.4.51; 7.1.9 to before 7.4.24; 8.0.0 to before 8.1.12 Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12 Patch available CNA
Remediation
Upgrade symfony/http-client to 5.4.57, 6.4.51, 7.4.24 or 8.1.12 for the matching release line, and upgrade symfony/symfony to the same versions.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA symfony/http-client (Symfony) Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12
- Fix · CNA symfony/symfony (Symfony) Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
symfony/symfony 5.4.57, 6.4.51 and 2 more versions
13 records Highest priority Priority MEDIUM 2 MEDIUM, 11 LOW
Other records, highest priority first
- TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHPPriority MEDIUM 45
- TI-2026-98148 Nested short ternaries make the Symfony expression parser hangPriority MEDIUM 45
- TI-2026-98153 HttpClient lets a Proxy header choose the proxy under the CLI SAPIPriority LOW 37
- Release ·
symfony/http-client 5.4.57, 6.4.51 and 2 more versions
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-98153 HttpClient lets a Proxy header choose the proxy under the CLI SAPIPriority LOW 37
- TI-2026-98146 Symfony NoPrivateNetworkHttpClient drops default TLS trust optionsPriority LOW 28
Timeline
- 2026-11-25 Threatist record created from CVE-2026-133757
References
More symfony vulnerabilities
- TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
- TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
- TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
- TI-2022-08704 Symfony storing cookie headers in HttpCache CVSS 3.1HIGH 8.8
- TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHP CVSS 4.0HIGH 8.7
- TI-2026-98148 Nested short ternaries make the Symfony expression parser hang CVSS 4.0HIGH 8.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences