CVE-2026-133750 (GCVE-0-2026-133750)

Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
Title
CachingHttpClient Shares Responses Between Users When Credentials Are Set With withOptions()
Summary
Since Symfony 7.4, CachingHttpClient can cache the responses of HTTP clients, for example when caching is enabled in framework.http_client. Its withOptions() method passes the options to the decorated client only. So credentials set with withOptions(), like auth_bearer, auth_basic, an Authorization header or a Cookie header, reach the server, but CachingHttpClient doesn't see them. They're missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an Authorization header. A cacheable response fetched for one user is then served to the next users: $client->withOptions(['auth_bearer' => $aliceToken])->request('GET', 'https://api.example.com/me'); // Alice's profile $client->withOptions(['auth_bearer' => $bobToken])->request('GET', 'https://api.example.com/me'); // Alice's profile, from the cache Applications are affected when they enable caching on a client, set per-user credentials with withOptions(), and request URLs whose responses are cacheable. Credentials passed to request() aren't affected. Most other options set with withOptions() were ignored too when caching was enabled, because CachingHttpClient forwarded each request with its own defaults. This includes max_redirects, proxy, peer_fingerprint, local_cert, timeout, on_progress and body. CachingHttpClient::withOptions() now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like max_retries, are still passed to them only. Client certificates, proxies and auth_ntlm are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don't get the responses of each other anymore.
CWE
  • CWE-524 - Use of Cache Containing Sensitive Information
Impacted products
Vendor Product Version
Symfony symfony/http-client Affected: 7.4.0 , < 7.4.24 (semver)
Affected: 8.0.0 , < 8.1.12 (semver)
Create a notification for this product.
Symfony symfony/symfony Affected: 7.4.0 , < 7.4.24 (semver)
Affected: 8.0.0 , < 8.1.12 (semver)
Create a notification for this product.
Date Public
2026-11-25 09:36
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/http-client",
          "product": "symfony/http-client",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.4.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/symfony",
          "product": "symfony/symfony",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.4.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Nicolas Grekas"
        }
      ],
      "datePublic": "2026-11-25T09:36:10.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Since Symfony 7.4, `CachingHttpClient` can cache the responses of HTTP clients, for example when `caching` is enabled in `framework.http_client`. Its `withOptions()` method passes the options to the decorated client only. So credentials set with `withOptions()`, like `auth_bearer`, `auth_basic`, an `Authorization` header or a `Cookie` header, reach the server, but `CachingHttpClient` doesn\u0027t see them. They\u0027re missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an `Authorization` header. A cacheable response fetched for one user is then served to the next users:\n\n```php\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $aliceToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $bobToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027);   // Alice\u0027s profile, from the cache\n```\n\nApplications are affected when they enable caching on a client, set per-user credentials with `withOptions()`, and request URLs whose responses are cacheable. Credentials passed to `request()` aren\u0027t affected.\n\nMost other options set with `withOptions()` were ignored too when caching was enabled, because `CachingHttpClient` forwarded each request with its own defaults. This includes `max_redirects`, `proxy`, `peer_fingerprint`, `local_cert`, `timeout`, `on_progress` and `body`.\n\n`CachingHttpClient::withOptions()` now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like `max_retries`, are still passed to them only.\n\nClient certificates, proxies and `auth_ntlm` are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don\u0027t get the responses of each other anymore."
            }
          ],
          "value": "Since Symfony 7.4, CachingHttpClient can cache the responses of HTTP clients, for example when caching is enabled in framework.http_client. Its withOptions() method passes the options to the decorated client only. So credentials set with withOptions(), like auth_bearer, auth_basic, an Authorization header or a Cookie header, reach the server, but CachingHttpClient doesn\u0027t see them. They\u0027re missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an Authorization header. A cacheable response fetched for one user is then served to the next users:\n\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $aliceToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $bobToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027);   // Alice\u0027s profile, from the cache\n\nApplications are affected when they enable caching on a client, set per-user credentials with withOptions(), and request URLs whose responses are cacheable. Credentials passed to request() aren\u0027t affected.\n\nMost other options set with withOptions() were ignored too when caching was enabled, because CachingHttpClient forwarded each request with its own defaults. This includes max_redirects, proxy, peer_fingerprint, local_cert, timeout, on_progress and body.\n\nCachingHttpClient::withOptions() now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like max_retries, are still passed to them only.\n\nClient certificates, proxies and auth_ntlm are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don\u0027t get the responses of each other anymore."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-524",
              "description": "CWE-524 Use of Cache Containing Sensitive Information",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-25T10:00:10.484Z",
        "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "shortName": "Symfony"
      },
      "references": [
        {
          "name": "CVE-2026-133750",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://symfony.com/cve-2026-133750"
        },
        {
          "name": "GHSA-28vh-p99h-pqc7",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/symfony/symfony/security/advisories/GHSA-28vh-p99h-pqc7"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/commit/e9b64eb3a3ddba6ac7b98e31e9f601235660730f"
        }
      ],
      "source": {
        "advisory": "GHSA-28vh-p99h-pqc7",
        "discovery": "UNKNOWN"
      },
      "title": "CachingHttpClient Shares Responses Between Users When Credentials Are Set With withOptions()",
      "x_generator": {
        "engine": "symfony/ghsa-to-cve"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
    "assignerShortName": "Symfony",
    "cveId": "CVE-2026-133750",
    "datePublished": "2026-11-25T10:00:10.484Z",
    "dateReserved": "2026-11-20T14:01:43.157Z",
    "dateUpdated": "2026-11-25T10:00:10.484Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://packagist.org",
                "defaultStatus": "unaffected",
                "packageName": "symfony/http-client",
                "product": "symfony/http-client",
                "repo": "https://github.com/symfony/symfony",
                "vendor": "Symfony",
                "versions": [
                  {
                    "lessThan": "7.4.24",
                    "status": "affected",
                    "version": "7.4.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "8.1.12",
                    "status": "affected",
                    "version": "8.0.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://packagist.org",
                "defaultStatus": "unaffected",
                "packageName": "symfony/symfony",
                "product": "symfony/symfony",
                "repo": "https://github.com/symfony/symfony",
                "vendor": "Symfony",
                "versions": [
                  {
                    "lessThan": "7.4.24",
                    "status": "affected",
                    "version": "7.4.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "8.1.12",
                    "status": "affected",
                    "version": "8.0.0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Since Symfony 7.4, CachingHttpClient can cache the responses of HTTP clients, for example when caching is enabled in framework.http_client. Its withOptions() method passes the options to the decorated client only. So credentials set with withOptions(), like auth_bearer, auth_basic, an Authorization header or a Cookie header, reach the server, but CachingHttpClient doesn\u0027t see them. They\u0027re missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an Authorization header. A cacheable response fetched for one user is then served to the next users:\n\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $aliceToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $bobToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027);   // Alice\u0027s profile, from the cache\n\nApplications are affected when they enable caching on a client, set per-user credentials with withOptions(), and request URLs whose responses are cacheable. Credentials passed to request() aren\u0027t affected.\n\nMost other options set with withOptions() were ignored too when caching was enabled, because CachingHttpClient forwarded each request with its own defaults. This includes max_redirects, proxy, peer_fingerprint, local_cert, timeout, on_progress and body.\n\nCachingHttpClient::withOptions() now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like max_retries, are still passed to them only.\n\nClient certificates, proxies and auth_ntlm are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don\u0027t get the responses of each other anymore."
          }
        ],
        "id": "CVE-2026-133750",
        "lastModified": "2026-11-25T10:17:12.350",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "LOW",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-25T10:17:12.350",
        "references": [
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/commit/e9b64eb3a3ddba6ac7b98e31e9f601235660730f"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/security/advisories/GHSA-28vh-p99h-pqc7"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://symfony.com/cve-2026-133750"
          }
        ],
        "sourceIdentifier": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-524"
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…