Symfonyのhttp-clientで認証情報がリダイレクト先に送られる脆弱性
Summary
Symfonyのhttp-clientでは、リダイレクト時に既定の認証情報が別のオリジンへ送られる脆弱性(CVE-2026-133757)が見つかりました。影響を受けるのはsymfony/http-clientとsymfony/symfonyの5.4.48〜5.4.56、6.4.16〜6.4.50、7.1.9〜7.4.23、8.0.0〜8.1.11で、5.4.57、6.4.51、7.4.24、8.1.12で修正されています。該当する版を使っている場合は、修正版への更新を急いでください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Symfonyのhttp-clientでは、リダイレクト時に既定の認証情報が別のオリジンへ送られる脆弱性(CVE-2026-133757)が見つかりました。影響を受けるのはsymfony/http-clientとsymfony/symfonyの5.4.48〜5.4.56、6.4.16〜6.4.50、7.1.9〜7.4.23、8.0.0〜8.1.11で、5.4.57、6.4.51、7.4.24、8.1.12で修正されています。該当する版を使っている場合は、修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Symfonysymfony/http-client |
≥ 5.4.48, < 5.4.57→ 5.4.57 ≥ 6.4.16, < 6.4.51→ 6.4.51 ≥ 7.1.9, < 7.4.24→ 7.4.24 ≥ 8.0.0, < 8.1.12→ 8.1.12 |
5.4.57 6.4.51 7.4.24 8.1.12 |
| Symfonysymfony/symfony |
≥ 5.4.48, < 5.4.57→ 5.4.57 ≥ 6.4.16, < 6.4.51→ 6.4.51 ≥ 7.1.9, < 7.4.24→ 7.4.24 ≥ 8.0.0, < 8.1.12→ 8.1.12 |
5.4.57 6.4.51 7.4.24 8.1.12 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-133757 symfony Fix available
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory symfony.com
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web packagist.org