{"id":"CVE-2026-80218","published":"2026-09-17T13:09:25Z","modified":"2026-11-19T08:30:32Z","title":"Sign-in token minted for one resource accepted by another in AshAuthentication","vendor":"team-alembic","product":"ash_authentication","tier":"tail","description":{"text":"Improper Authentication vulnerability in team-alembic AshAuthentication allows an attacker holding a sign-in token for one authenticated resource to be signed in as a user of a different resource.\n\nAshAuthentication.Strategy.Password.SignInWithTokenPreparation.extract_primary_keys_from_subject/2 parses the JWT sub claim (for example user?id=1) with URI.parse/1 and keeps only its query string, discarding the path segment that names the subject the token was issued for. Nothing else restores that binding: AshAuthentication.Jwt.verify/3 checks the signature, exp, nbf, jti and the library-version claims, the purpose check only requires sign_in, and the remaining comparison is over primary-key field names, which are identical across resources. The WebAuthn sign-in and remember-me preparations carry copies of the same helper and drop the path in the same way. The magic link sign-in path pins the subject name against the resource and is not affected.\n\nThis issue affects ash_authentication: from 3.10.5 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00637,"percentile":0.51465,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-3pr8-f99q-86hp","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-80218.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-80218","tags":["related"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/eca8cadea0f1595ed2c10a0c177b1da9aa9e5269","tags":["related"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/2640e1872e1fef4e4606e601bf00102cff784c03","tags":["patch"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/7baac243ca651eee127a84d672eee3fcff42e598","tags":["patch"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.29},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"team-alembic","affectedVersions":[{"vendor":"team-alembic","product":"ash_authentication","versions":[">= 3.10.5, < 4.15.0",">= 5.0.0-rc.0, < 5.0.0-rc.14"]},{"vendor":"team-alembic","product":"ash_authentication","versions":[">= eca8cadea0f1595ed2c10a0c177b1da9aa9e5269"]}],"fixedVersions":[{"vendor":"team-alembic","product":"ash_authentication","versions":["2640e1872e1fef4e4606e601bf00102cff784c03","7baac243ca651eee127a84d672eee3fcff42e598"]}],"capec":[{"id":"CAPEC-151","name":"Identity Spoofing"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-17T18:28:40.896413Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-81484","exploited":false,"provenance":"source"}}