cvelo
P3 · MediumCVSS 6.9EPSS 0.3%

Token revocation record built from unverified JWT claims in AshAuthentication

  • CVE-2026-78223
  • EUVD-2026-81483

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.

Text from the CVE.org record.

Recommendation

  • team-alembic ash_authentication

    • If you run 5.0.xupdate to 5.0.0-rc.14 or laterPatch update: breaking changes are unlikely
    • If you run a version from 0.2.0 to before 4.15.0update to 4.15.0 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • team-alembic ash_authentication

    Affected versionsFixed in
    from 5.0.0-rc.0 to before 5.0.0-rc.145.0.0-rc.14
    from 0.2.0 to before 4.15.04.15.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.