Skip to content
Heist/ feed
Back to feed
Medium

ash_authentication_oauth2_server serves tenant-specific OAuth metadata as publicly cacheable without Vary, enabling cross-tenant confusion

Type: advisorySources: OSV

Use of Cache Containing Sensitive Information vulnerability in ash-project ash_authentication_oauth2_server allows a shared HTTP cache to serve one tenant's OAuth discovery metadata to another tenant's clients. The RFC 8414 and RFC 9728 metadata endpoints in AshAuthentication.Phoenix.Oauth2Server.ProtocolRouter return tenant-specific values (issuer, authorization_endpoint, token_endpoint, jwks_uri) when a tenant is set, but sent them with Cache-Control: public, max-age=3600 and no Vary. When the tenant is derived from something other than the URL (a header or the Host) and a shared cache sits in front, the cache key is the URL alone, so a stored response for one tenant is served to another for up to an hour. Affected clients may then send authorization codes and secrets to the wrong tenant's token endpoint and validate tokens against the wrong keys. This issue affects ash_authentication_oauth2_server: from 0.1.3 before 0.3.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-82755
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:51 UTC · Revision 1

Source evidence

ash_authentication_oauth2_server serves tenant-specific OAuth metadata as publicly cacheable without Vary, enabling cross-tenant confusion

core-osv · Original source

Published 7 Sept 2026, 22:28 UTC

Use of Cache Containing Sensitive Information vulnerability in ash-project ash_authentication_oauth2_server allows a shared HTTP cache to serve one tenant's OAuth discovery metadata to another tenant's clients. The RFC 8414 and RFC 9728 metadata endpoints in AshAuthentication.Phoenix.Oauth2Server.ProtocolRouter return tenant-specific values (issuer, authorization_endpoint, token_endpoint, jwks_uri) when a tenant is set, but sent them with Cache-Control: public, max-age=3600 and no Vary. When the tenant is derived from something other than the URL (a header or the Host) and a shared cache sits in front, the cache key is the URL alone, so a stored response for one tenant is served to another for up to an hour. Affected clients may then send authorization codes and secrets to the wrong tenant's token endpoint and validate tokens against the wrong keys. This issue affects ash_authentication_oauth2_server: from 0.1.3 before 0.3.1.

osv:CVE-2026-82755
Complete source record
{
  "id": "37d79b55621b2477828a0c2003540d6699116095d300a5683bef7c1b4ded4571",
  "url": "https://osv.dev/vulnerability/CVE-2026-82755",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ash_authentication_oauth2_server serves tenant-specific OAuth metadata as publicly cacheable without Vary, enabling cross-tenant confusion",
    "summary": "Use of Cache Containing Sensitive Information vulnerability in ash-project ash_authentication_oauth2_server allows a shared HTTP cache to serve one tenant's OAuth discovery metadata to another tenant's clients. The RFC 8414 and RFC 9728 metadata endpoints in AshAuthentication.Phoenix.Oauth2Server.ProtocolRouter return tenant-specific values (issuer, authorization_endpoint, token_endpoint, jwks_uri) when a tenant is set, but sent them with Cache-Control: public, max-age=3600 and no Vary. When the tenant is derived from something other than the URL (a header or the Host) and a shared cache sits in front, the cache key is the URL alone, so a stored response for one tenant is served to another for up to an hour. Affected clients may then send authorization codes and secrets to the wrong tenant's token endpoint and validate tokens against the wrong keys. This issue affects ash_authentication_oauth2_server: from 0.1.3 before 0.3.1.",
    "evidence": "osv:CVE-2026-82755",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-82755",
      "aliases": [
        "CVE-2026-82755",
        "EEF-CVE-2026-82755",
        "GHSA-crqf-7m54-4hgc"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ash-project/ash_authentication_oauth2_server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "99de0a1cacb5ef667c4533278b7c81ca98c00231"
                },
                {
                  "fixed": "768d87f70e4e97ae1d2bf1606b5bf3f4d03f24a1"
                },
                {
                  "introduced": "34ecef8343573572a10fd1587d40032be54df05b"
                },
                {
                  "fixed": "15bde4311e31c925a428f34c02b283307619e2a2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "99de0a1cacb5ef667c4533278b7c81ca98c00231"
                      },
                      {
                        "fixed": "768d87f70e4e97ae1d2bf1606b5bf3f4d03f24a1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.1.3"
                      },
                      {
                        "fixed": "0.3.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "768d87f70e4e97ae1d2bf1606b5bf3f4d03f24a1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.3.0",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82755.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.996811721Z",
      "provider": "osv",
      "references": [
        "https://cna.erlef.org/cves/CVE-2026-82755.html",
        "https://github.com",
        "https://osv.dev/vulnerability/EEF-CVE-2026-82755",
        "https://repo.hex.pm",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82755.json",
        "https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-crqf-7m54-4hgc",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-82755",
        "https://github.com/ash-project/ash_authentication_oauth2_server/commit/768d87f70e4e97ae1d2bf1606b5bf3f4d03f24a1",
        "https://github.com/ash-project/ash_authentication_oauth2_server"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-524"
        ],
        "cna_assigner": "EEF",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82755.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-82755",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504314,
  "published_at": "2026-09-07T22:28:24.5+00:00"
}