Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient prepares each request with the default options of the library. The decorator then passes all these options to the decorated client. Every option is then already set, so that client ignores its own default options.
When these defaults restrict TLS trust, the restriction is lost without any error. A client created with peer_fingerprint, a private cafile or a minimum crypto_method refuses a server on its own. Once decorated, the same client connects to that server. Someone on the network path with a certificate that the system trust store accepts can then read and answer the requests. Default proxy and max_redirects options were lost the same way. Since Symfony 8.1, DnsResolvingHttpClient is affected too.
This also applies to the default_options of FrameworkBundle, which configure the innermost client.
The decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again.
When these defaults restrict TLS trust, the restriction is lost without any error. A client created with peer_fingerprint, a private cafile or a minimum crypto_method refuses a server on its own. Once decorated, the same client connects to that server. Someone on the network path with a certificate that the system trust store accepts can then read and answer the requests. Default proxy and max_redirects options were lost the same way. Since Symfony 8.1, DnsResolvingHttpClient is affected too.
This also applies to the default_options of FrameworkBundle, which configure the innermost client.
The decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 25 Nov 2026 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient prepares each request with the default options of the library. The decorator then passes all these options to the decorated client. Every option is then already set, so that client ignores its own default options. When these defaults restrict TLS trust, the restriction is lost without any error. A client created with peer_fingerprint, a private cafile or a minimum crypto_method refuses a server on its own. Once decorated, the same client connects to that server. Someone on the network path with a certificate that the system trust store accepts can then read and answer the requests. Default proxy and max_redirects options were lost the same way. Since Symfony 8.1, DnsResolvingHttpClient is affected too. This also applies to the default_options of FrameworkBundle, which configure the innermost client. The decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again. | |
| Title | NoPrivateNetworkHttpClient Makes the Client It Decorates Ignore Its Own Default Options, Like Certificate Pinning | |
| Weaknesses | CWE-295 | |
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: Symfony
Published:
Updated: 2026-11-25T10:00:17.480Z
Reserved: 2026-11-20T14:01:43.158Z
Link: CVE-2026-133758
No data.
Status : Received
Published: 2026-11-25T10:17:13.620
Modified: 2026-11-25T10:17:13.620
Link: CVE-2026-133758
No data.
OpenCVE Enrichment
Updated: 2026-11-25T11:30:21Z
Weaknesses