{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133758","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.158Z","datePublished":"2026-11-25T10:00:17.480Z","dateUpdated":"2026-11-25T10:00:17.480Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-25T10:00:17.480Z"},"title":"NoPrivateNetworkHttpClient Makes the Client It Decorates Ignore Its Own Default Options, Like Certificate Pinning","datePublic":"2026-11-25T09:36:32.000Z","descriptions":[{"lang":"en","value":"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.\n\nWhen 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.\n\nThis also applies to the default_options of FrameworkBundle, which configure the innermost client.\n\nThe decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"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.\n\nWhen 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.\n\nThis also applies to the `default_options` of FrameworkBundle, which configure the innermost client.\n\nThe 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":[{"vendor":"Symfony","product":"symfony/http-client","collectionURL":"https://packagist.org","packageName":"symfony/http-client","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"5.4.48","status":"affected","lessThan":"5.4.57","versionType":"semver"},{"version":"6.4.16","status":"affected","lessThan":"6.4.51","versionType":"semver"},{"version":"7.1.9","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]},{"vendor":"Symfony","product":"symfony/symfony","collectionURL":"https://packagist.org","packageName":"symfony/symfony","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"5.4.48","status":"affected","lessThan":"5.4.57","versionType":"semver"},{"version":"6.4.16","status":"affected","lessThan":"6.4.51","versionType":"semver"},{"version":"7.1.9","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-295","description":"CWE-295 Improper Certificate Validation","type":"CWE"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"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","baseScore":6.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://symfony.com/cve-2026-133758","name":"CVE-2026-133758","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-p5hc-hv32-fgxg","name":"GHSA-p5hc-hv32-fgxg","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/commit/40640dd0c312f267811e18e56cb0f9cb2feedeb9","tags":["patch"]}],"credits":[{"lang":"en","value":"Vincent Cassiau (CyberVanguard)","type":"finder"},{"lang":"en","value":"Nicolas Grekas","type":"remediation developer"}],"source":{"advisory":"GHSA-p5hc-hv32-fgxg","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}