CVE-2026-78223

Token revocation record built from unverified JWT claims in AshAuthentication

State
Published
Severity
6.9 Medium
Published
Sep 17, 2026
Updated
Sep 17, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NEEF

Weaknesses

  • CWE-347 Improper Verification of Cryptographic Signature

Affected Products

ProductVersions
ash_authenticationteam-alembic
  • 0.2.0 to before 4.15.0Affected
  • 5.0.0-rc.0 to before 5.0.0-rc.14Affected
ash_authenticationteam-alembic
  • a939dde9b917c072cdf10c4b0913a9886a4b0231 and laterAffectedfrom 344cebb12faf68e648d3283394073ba0c0f78459Not affectedfrom eb86353fe5a547c5ff5fd9af0e2c212518c31c9bNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.