# CVE-2026-78223: Token revocation record built from unverified JWT claims in AshAuthentication

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-09-17T13:09:19.591Z
- Modified: 2026-11-25T06:31:02.507Z
- Also known as: EEF-CVE-2026-78223, GHSA-mfwg-5cpf-px58
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: EEF

## Description

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.

(As written by CVE List.)

## Affected

- ash_authentication: from 0.2.0 before 4.15.0; from 5.0.0-rc.0 before 5.0.0-rc.14
- team-alembic/ash_authentication: from a939dde9b917c072cdf10c4b0913a9886a4b0231 before *
- ash_authentication (Hex): from 0.2.0 before 4.15.0; from 5.0.0-rc.0 before 5.0.0-rc.14
- https://github.com/team-alembic/ash_authentication: from a939dde9b917c072cdf10c4b0913a9886a4b0231 before 344cebb12faf68e648d3283394073ba0c0f78459; before eb86353fe5a547c5ff5fd9af0e2c212518c31c9b

## Every score

- EEF: CVSS:4.0 6.9 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-mfwg-5cpf-px58> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-78223.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-78223> (related)
- <https://github.com/team-alembic/ash_authentication/commit/a939dde9b917c072cdf10c4b0913a9886a4b0231> (related, web)
- <https://github.com/team-alembic/ash_authentication/commit/344cebb12faf68e648d3283394073ba0c0f78459> (fix, patch)
- <https://github.com/team-alembic/ash_authentication/commit/eb86353fe5a547c5ff5fd9af0e2c212518c31c9b> (fix, patch)
- <https://hex.pm/packages/ash_authentication> (package)

## Sources

- CVE List: [CVE-2026-78223](https://www.cve.org/CVERecord?id=CVE-2026-78223), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-78223](https://osv.dev/vulnerability/EEF-CVE-2026-78223), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-78223](https://nvd.nist.gov/vuln/detail/CVE-2026-78223), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-78223 · Whole record: https://cve.day/CVE-2026-78223.json · Rebuilt by cve.day 2026-11-25T22:59:39.229Z
