CVE-2026-78223
MEDIUM 6.9CVSS 4.0Token revocation record built from unverified JWT claims in AshAuthentication
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.
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.
This 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.
- Published
- 17 Sep 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-347
- Also known as
- EEF-CVE-2026-78223GHSA-mfwg-5cpf-px58
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-78223JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/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 |
| CVE List | EEF | CVSS 4.0 | MEDIUM 6.9 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | ash_authenticationcpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:* |
>= 0.2.0, < 4.15.0; >= 5.0.0-rc.0, < 5.0.0-rc.14 | 4.15.0, 5.0.0-rc.14 |
| CVE List | https://github.com | team-alembic/ash_authenticationcpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:* |
>= a939dde9b917c072cdf10c4b0913a9886a4b0231 | |
| OSV | Hex | ash_authentication | >= 0.2.0, < 4.15.0; >= 5.0.0-rc.0, < 5.0.0-rc.14 | 4.15.0, 5.0.0-rc.14 |
References
- https://cna.erlef.org/cves/CVE-2026-78223.html · related, WEB
- https://github.com/team-alembic/ash_authentication/commit/344cebb12faf68e648d3283394073ba0c0f78459 · patch, FIX
- https://github.com/team-alembic/ash_authentication/commit/a939dde9b917c072cdf10c4b0913a9886a4b0231 · related, WEB
- https://github.com/team-alembic/ash_authentication/commit/eb86353fe5a547c5ff5fd9af0e2c212518c31c9b · patch, FIX
- https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-mfwg-5cpf-px58 · related, vendor-advisory, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-78223 · related
- https://hex.pm/packages/ash_authentication · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 17 Sep 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 Sep 2026)
- 25 Nov 2026 20:10 UTC · CVE List: first stored (published 17 Sep 2026)