Impact
An attacker can supply a forged JSON Web Token to the token revocation endpoint of AshAuthentication. Because the implementation uses a peek function that extracts claims without verifying the signature, the attacker‐controlled jti, exp, and sub values are deserialized and stored as a revocation record. The revocation record can be crafted so that it already expires or contains arbitrary identifiers, allowing the attacker to either prevent a legitimate revocation from being stored or to insert unauthorized rows into the token database. This weakness is identified as improper verification of the cryptographic signature (CWE‑347) and enables data‑tampering rather than code execution.
Affected Systems
Versioned AshAuthentication packages from team‑alembic are affected. The vulnerability exists in all releases starting with version 0.2.0 through just before 4.15.0, and also in the release candidates 5.0.0‑rc.0 through 5.0.0‑rc.13. Upgrading to any stable release 4.15.0 or later, or to any 5.0.0‑rc.14 or newer, removes the flaw. The product is exposed via the revocation API exposed by AshAuthentication.Services.TokenResource.
Risk and Exploitability
Based on the CVSS base score of 6.9, this issue is classified as medium severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that widespread exploitation may not yet be documented. The vulnerability is exploitable by anyone who can invoke the revocation action; no network elevation or additional privileges are mentioned. A likely attack vector is a compromised user session or a malicious client that can send crafted revocation requests to the server.
OpenCVE Enrichment