Improper Certificate Validation Affecting symfony/http-client package, versions >=5.4.48, <5.4.57>=6.4.16, <6.4.51>=7.1.9, <7.4.24>=8.0.0, <8.1.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYHTTPCLIENT-23188872
  • published1 Dec 2026
  • disclosed25 Nov 2026
  • creditVincent Cassiau

Introduced: 25 Nov 2026

NewCVE-2026-133758  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade symfony/http-client to version 5.4.57, 6.4.51, 7.4.24, 8.1.12 or higher.

Overview

symfony/http-client is a Symfony HttpClient component.

Affected versions of this package are vulnerable to Improper Certificate Validation via NoPrivateNetworkHttpClient, which prepares each request with the library's default options and passes all of them to the decorated client. Because every option is already set when the decorated client receives the request, that client ignores its own default options. When those defaults restrict TLS trust - through peer_fingerprint, a private cafile, or a minimum crypto_method - the restriction is silently dropped, allowing a network-path attacker who holds a certificate accepted by the system trust store to intercept and respond to requests. Default proxy and max_redirects options are lost the same way, and since Symfony 8.1 DnsResolvingHttpClient is affected too.

CVSS Base Scores

version 4.0
version 3.1