Original 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.
Affected products and versions
CVSS vector, explained
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- Attack requirements
- Present
- Privileges required
- None (no login)
- User interaction
- Not required
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-295 Improper Certificate Validation
References
- symfony.com/cve-2026-133758 vendor advisory
- github.com/symfony/symfony/security/advisories/GHSA-p5hc-hv32-fgxg vendor advisory
- github.com/symfony/symfony/commit/40640dd0c312f267811e18e56cb0f9cb2feedeb9 patch
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.