CVE-2026-78223: CWE-347 Improper Verification of Cryptographic Signature in team-alembic ash_authentication
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.
AI Analysis
Technical Summary
The vulnerability arises because the RevokeTokenChange.change/3 function decodes the token using AshAuthentication.Jwt.peek/1, which calls Joken.peek_claims/1 without verifying the token's cryptographic signature. This leads to acceptance of attacker-controlled claims such as jti, exp, and sub without validation. An attacker can forge a token that reuses a legitimate jti but backdates the exp claim, causing the revocation record to appear expired and be removed by expunge_expired. Consequently, the genuine token is no longer considered revoked. Arbitrary jti and sub values can also be inserted, potentially corrupting the token revocation data.
Potential Impact
An attacker can bypass token revocation mechanisms, allowing revoked tokens to remain valid. This undermines the security controls intended to invalidate tokens, potentially enabling unauthorized access or token misuse. Additionally, arbitrary data can be inserted into the token revocation resource, which may affect system integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using affected versions or implement additional signature verification on tokens before processing revocation. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-78223: CWE-347 Improper Verification of Cryptographic Signature in team-alembic ash_authentication
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.
CVSS v4.0
Score 6.9medium
Affected software
team-alembic
ash_authentication
team-alembic
ash_authentication
pkg:hex/ash_authenticationpkg:github/team-alembic/ash_authenticationcpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because the RevokeTokenChange.change/3 function decodes the token using AshAuthentication.Jwt.peek/1, which calls Joken.peek_claims/1 without verifying the token's cryptographic signature. This leads to acceptance of attacker-controlled claims such as jti, exp, and sub without validation. An attacker can forge a token that reuses a legitimate jti but backdates the exp claim, causing the revocation record to appear expired and be removed by expunge_expired. Consequently, the genuine token is no longer considered revoked. Arbitrary jti and sub values can also be inserted, potentially corrupting the token revocation data.
Potential Impact
An attacker can bypass token revocation mechanisms, allowing revoked tokens to remain valid. This undermines the security controls intended to invalidate tokens, potentially enabling unauthorized access or token misuse. Additionally, arbitrary data can be inserted into the token revocation resource, which may affect system integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using affected versions or implement additional signature verification on tokens before processing revocation. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-09-11T18:30:01.328Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aabe86855bf5e2cf56c51bd
Added to database: 09/17/2026, 13:17:28 UTC
Last enriched: 09/17/2026, 13:32:25 UTC
Last updated: 09/18/2026, 00:14:52 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.