{"id":"EEF-CVE-2026-82755","summary":"ash_authentication_oauth2_server serves tenant-specific OAuth metadata as publicly cacheable without Vary, enabling cross-tenant confusion","details":"## Summary\n\nUse 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.\n\nThe 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.\n\nThis issue affects ash_authentication_oauth2_server: from 0.1.3 before 0.3.1.\n\n## Configurations\n\nReachable only in a multi-tenant deployment where the tenant is derived from outside the request URL (a header or the `Host`) and a shared HTTP cache (CDN, reverse proxy) sits in front of the metadata endpoints.","aliases":["CVE-2026-82755","GHSA-crqf-7m54-4hgc"],"modified":"2026-09-08T22:30:03.600920882Z","published":"2026-09-07T22:28:24.500Z","database_specific":{"cpe_ids":["cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-524"],"capec_ids":["CAPEC-204"]},"references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-crqf-7m54-4hgc"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82755.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_authentication_oauth2_server/commit/768d87f70e4e97ae1d2bf1606b5bf3f4d03f24a1"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_authentication_oauth2_server"}],"affected":[{"package":{"name":"ash_authentication_oauth2_server","ecosystem":"Hex","purl":"pkg:hex/ash_authentication_oauth2_server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.3"},{"fixed":"0.3.1"}]}],"versions":["0.1.3","0.2.0","0.2.1","0.2.2","0.3.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-82755.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_authentication_oauth2_server","events":[{"introduced":"99de0a1cacb5ef667c4533278b7c81ca98c00231"},{"fixed":"768d87f70e4e97ae1d2bf1606b5bf3f4d03f24a1"}]}],"versions":["v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.3"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-82755.json"}}],"schema_version":"1.9.0","severity":[{"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"}],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}]}