Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3CVE-2026-133758

CVE-2026-133758: NoPrivateNetworkHttpClient Makes the Client It Decorates Ignore Its Own Default Options, Like Certificate Pinning

Symfony symfony/http-client

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133758: medium-severity vulnerability (CVSS 6.3) in Symfony symfony/http-client.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.3.

Affected products and versions

Symfony symfony/http-client >= 5.4.48, < 5.4.57; Symfony symfony/http-client >= 6.4.16, < 6.4.51; Symfony symfony/http-client >= 7.1.9, < 7.4.24; Symfony symfony/http-client >= 8.0.0, < 8.1.12; Symfony symfony/symfony >= 5.4.48, < 5.4.57; Symfony symfony/symfony >= 6.4.16, < 6.4.51; Symfony symfony/symfony >= 7.1.9, < 7.4.24; Symfony symfony/symfony >= 8.0.0, < 8.1.12

ProductVersionsFixed in
Symfony symfony/http-client>= 5.4.48, < 5.4.57—
Symfony symfony/http-client>= 6.4.16, < 6.4.51—
Symfony symfony/http-client>= 7.1.9, < 7.4.24—
Symfony symfony/http-client>= 8.0.0, < 8.1.12—
Symfony symfony/symfony>= 5.4.48, < 5.4.57—
Symfony symfony/symfony>= 6.4.16, < 6.4.51—
Symfony symfony/symfony>= 7.1.9, < 7.4.24—
Symfony symfony/symfony>= 8.0.0, < 8.1.12—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-295

Relevant change history

  1. Published

    Preliminary advisory published.