Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-65633: CWE-287 Improper Authentication in team-alembic ash_authentication

0
High
VulnerabilityCVE-2026-65633cvecve-2026-65633cwe-287
Published: 08/25/2026 (08/25/2026, 08:03:51 UTC)
Source: CVE Database V5
Vendor/Project: team-alembic
Product: ash_authentication

Description

CVE-2026-65633 is an improper authentication vulnerability in the team-alembic ash_authentication library. It allows purpose-limited JWT tokens, such as sign-in tokens, to be replayed as full bearer API credentials when stateless bearer-token verification is used without strict purpose checks. This bypasses the intended one-time-use and revocation semantics of sign-in tokens. The issue affects versions from 3.10.5 before 4.14.2 and from 5.0.0-rc.0 before 5.0.0-rc.13. Applications using the default configuration with require_token_presence_for_authentication? set to false and relying on stateless bearer-token verification are vulnerable. Applications enforcing require_token_presence_for_authentication? true or using session-based authentication are not affected.

CVSS v4.0

Score 7.6high

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

ash_authentication
pkg:hex/ash_authentication
Affected versions
>=3.10.5 <4.14.2
GitHub Actionsmore threats →cve
team-alembic/ash_authentication
pkg:github/team-alembic/ash_authentication
CPE configurations
cpe: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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/25/2026, 08:37:10 UTC

Technical Analysis

The vulnerability in ash_authentication arises because the bearer-token authentication helper retrieve_from_bearer/3 verifies JWT signatures and rejects tokens with an 'act' claim but does not verify that the token's 'purpose' claim equals 'user' at the bearer boundary. When the resource is configured with require_token_presence_for_authentication? set to false (default), the validate_token/3 helper returns {:ok, nil} without checking the token's purpose. Consequently, any valid, non-expired JWT issued for a narrow purpose (e.g., sign_in tokens used in WebAuthn or Password strategy with sign_in_tokens_enabled?) can be replayed as a general-purpose bearer token, granting full user authentication. This bypasses the intended token-exchange contract where sign_in tokens are single-use and revoked immediately after validation. Exploitation requires that the application uses retrieve_from_bearer/3 on a reachable route and uses WebAuthn or the Password strategy with sign_in_tokens_enabled?. Applications with require_token_presence_for_authentication? set to true or using session-based authentication enforce purpose checks and are not vulnerable. The affected versions are ash_authentication 3.10.5, all versions from 3.10.5 up to but not including 4.14.2, and 5.0.0-rc.0 up to but not including 5.0.0-rc.13.

Potential Impact

An attacker who obtains a valid, not-yet-exchanged sign-in token for a target user can replay it as a bearer token to authenticate as that user, bypassing the intended one-time-use and revocation mechanisms. This allows unauthorized access to the victim's account with full user privileges. The vulnerability requires the attacker to have access to a valid sign-in token (e.g., via log leakage, intercepted magic-link delivery, or compromised intermediaries) and the application to be configured with vulnerable settings. Applications enforcing token presence for authentication or using session-based authentication are not impacted.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. In the meantime, applications should ensure that require_token_presence_for_authentication? is set to true, which enforces purpose checks on tokens and prevents this vulnerability. Using session-based authentication paths also mitigates the issue. Avoid using stateless bearer-token verification with the default require_token_presence_for_authentication? false setting until a fix is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-07-22T13:58:26.233Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8d50d0acd9273b49e6aa87

Added to database: 08/25/2026, 08:22:40 UTC

Last enriched: 08/25/2026, 08:37:10 UTC

Last updated: 08/25/2026, 09:24:58 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses