cvelo
P3 · MediumCVSS 6.3EPSS 0.4%

NoPrivateNetworkHttpClient Makes the Client It Decorates Ignore Its Own Default Options, Like Certificate Pinning

  • CVE-2026-133758
  • EUVD-2026-135183

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.

Text from the CVE.org record.

Recommendation

  • Symfony symfony/http-client

    • If you run a version from 8.0.0 to before 8.1.12update to 8.1.12 or laterMinor version change: check the release notes
    • If you run a version from 7.1.9 to before 7.4.24update to 7.4.24 or laterMinor version change: check the release notes
    • If you run 6.4.xupdate to 6.4.51 or laterPatch update: breaking changes are unlikely
    • If you run 5.4.xupdate to 5.4.57 or laterPatch update: breaking changes are unlikely
  • Symfony symfony/symfony

    • If you run a version from 8.0.0 to before 8.1.12update to 8.1.12 or laterMinor version change: check the release notes
    • If you run a version from 7.1.9 to before 7.4.24update to 7.4.24 or laterMinor version change: check the release notes
    • If you run 6.4.xupdate to 6.4.51 or laterPatch update: breaking changes are unlikely
    • If you run 5.4.xupdate to 5.4.57 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Symfony symfony/http-client

    Affected versionsFixed in
    from 8.0.0 to before 8.1.128.1.12
    from 7.1.9 to before 7.4.247.4.24
    from 6.4.16 to before 6.4.516.4.51
    from 5.4.48 to before 5.4.575.4.57
  • Symfony symfony/symfony

    Affected versionsFixed in
    from 8.0.0 to before 8.1.128.1.12
    from 7.1.9 to before 7.4.247.4.24
    from 6.4.16 to before 6.4.516.4.51
    from 5.4.48 to before 5.4.575.4.57

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.