{"id":"CVE-2026-78223","aliases":["CVE-2026-78223","EEF-CVE-2026-78223","GHSA-mfwg-5cpf-px58"],"related":[],"kind":"vulnerability","state":"published","title":"Token revocation record built from unverified JWT claims in AshAuthentication","summary":"Improper Verification of Cryptographic Signature vulnerability in team-alembic AshAuthentication allows a caller of the token revocation action to neutralise a revocation or write arbitrary rows into the token resource.\n\nAshAuthentication.TokenResource.RevokeTokenChange.change/3 reads the :token argument and decodes it with AshAuthentication.Jwt.peek/1, which delegates to Joken.peek_claims/1 and performs no signature check, unlike Jwt.verify/4. The jti, exp and sub claims it returns are written straight onto the revocation record, guarded only by byte_size(token) > 0. Because expires_at derives from the attacker-chosen exp, a forged copy of a genuine token that keeps the real jti but backdates exp yields a revocation row that is already expired: expunge_expired removes it and the genuine token passes revoked? again. Arbitrary jti and sub values can be inserted the same way.\n\nThis issue affects ash_authentication: from 0.2.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Verification of Cryptographic Signature vulnerability in team-alembic AshAuthentication allows a caller of the token revocation action to neutralise a revocation or write arbitrary rows into the token resource.\n\nAshAuthentication.TokenResource.RevokeTokenChange.change/3 reads the :token argument and decodes it with AshAuthentication.Jwt.peek/1, which delegates to Joken.peek_claims/1 and performs no signature check, unlike Jwt.verify/4. The jti, exp and sub claims it returns are written straight onto the revocation record, guarded only by byte_size(token) > 0. Because expires_at derives from the attacker-chosen exp, a forged copy of a genuine token that keeps the real jti but backdates exp yields a revocation row that is already expired: expunge_expired removes it and the genuine token passes revoked? again. Arbitrary jti and sub values can be inserted the same way.\n\nThis issue affects ash_authentication: from 0.2.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nImproper Verification of Cryptographic Signature vulnerability in team-alembic AshAuthentication allows a caller of the token revocation action to neutralise a revocation or write arbitrary rows into the token resource.\n\n`AshAuthentication.TokenResource.RevokeTokenChange.change/3` reads the `:token` argument and decodes it with `AshAuthentication.Jwt.peek/1`, which delegates to `Joken.peek_claims/1` and performs no signature check, unlike `Jwt.verify/4`. The `jti`, `exp` and `sub` claims it returns are written straight onto the revocation record, guarded only by `byte_size(token) > 0`. Because `expires_at` derives from the attacker-chosen `exp`, a forged copy of a genuine token that keeps the real `jti` but backdates `exp` yields a revocation row that is already expired: `expunge_expired` removes it and the genuine token passes `revoked?` again. Arbitrary `jti` and `sub` values can be inserted the same way.\n\nThis issue affects ash_authentication: from 0.2.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.","format":"markdown","source":"eef"}],"published":"2026-09-17T13:09:19.591Z","modified":"2026-11-25T06:31:02.507Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"type":"semver","introduced":"0.2.0","fixed":"4.15.0","status":"affected"},{"type":"semver","introduced":"5.0.0-rc.0","fixed":"5.0.0-rc.14","status":"affected"}],"vendor":"team-alembic","product":"ash_authentication","package":"ash_authentication","cpe":"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*","repo":"https://github.com/team-alembic/ash_authentication","source":"cvelist"},{"ranges":[{"type":"git","introduced":"a939dde9b917c072cdf10c4b0913a9886a4b0231","fixed":"*","status":"affected"}],"vendor":"team-alembic","product":"ash_authentication","package":"team-alembic/ash_authentication","cpe":"cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*","repo":"https://github.com/team-alembic/ash_authentication","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.2.0","status":"affected","fixed":"4.15.0"},{"type":"semver","introduced":"5.0.0-rc.0","status":"affected","fixed":"5.0.0-rc.14"}],"ecosystem":"Hex","package":"ash_authentication","purl":"pkg:hex/ash_authentication","source":"eef"},{"ranges":[{"type":"git","introduced":"a939dde9b917c072cdf10c4b0913a9886a4b0231","status":"affected","fixed":"344cebb12faf68e648d3283394073ba0c0f78459"},{"type":"git","status":"affected","fixed":"eb86353fe5a547c5ff5fd9af0e2c212518c31c9b"}],"repo":"https://github.com/team-alembic/ash_authentication","source":"eef"}],"references":[{"url":"https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-mfwg-5cpf-px58","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-78223.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-78223","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/a939dde9b917c072cdf10c4b0913a9886a4b0231","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/344cebb12faf68e648d3283394073ba0c0f78459","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/team-alembic/ash_authentication/commit/eb86353fe5a547c5ff5fd9af0e2c212518c31c9b","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_authentication","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","James Harton"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-17T18:28:12.763Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-78223","url":"https://www.cve.org/CVERecord?id=CVE-2026-78223","licence":"CVE Terms of Use","modified":"2026-11-19T08:30:37.680Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-78223","url":"https://osv.dev/vulnerability/EEF-CVE-2026-78223","licence":"CC-BY-4.0","modified":"2026-11-25T06:31:02.507Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-78223","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78223","licence":"Public domain","modified":"2026-09-18T18:16:18.527Z"}],"updatedAt":"2026-11-25T22:59:39.229Z","epss":{"score":0.00319,"percentile":0.26852,"date":"2026-12-01T12:00:22.000Z"}}