Skip to main content
EPSS 0.6%top 54%

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 ash_authentication library by team-alembic. 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 intended one-time-use and revocation semantics, enabling an attacker with a valid sign_in token to authenticate as the token's subject. 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. Resources configured with 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

team-alembic

ash_authentication

Affected versions
>=3.10.5 <4.14.2>=5.0.0-rc.0 <5.0.0-rc.13

team-alembic

ash_authentication

ash_authentication
pkg:hex/ash_authentication
Affected versions
>=3.10.5 <4.14.2>=5.0.0-rc.0 <5.0.0-rc.13
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: 09/10/2026, 06:52:49 UTC

Technical Analysis

The vulnerability arises because the AshAuthentication.Plug.Helpers.retrieve_from_bearer/3 function verifies JWT signatures and rejects tokens with an act claim but does not check that the token's purpose claim equals "user" at the bearer boundary. When the resource is configured with require_token_presence_for_authentication?: false (default), the validate_token/3 helper returns {:ok, nil} without consulting the token resource, so no downstream purpose check occurs. Consequently, any valid, non-expired JWT issued for a narrow purpose (e.g., sign_in tokens from WebAuthn or Password strategy) can be used directly as a general-purpose bearer token, granting full current_user authentication. This bypasses the intended token-exchange contract where sign_in tokens are single-use and revoked immediately after validation. Exploitation requires the attacker to obtain a not-yet-exchanged sign_in token and for the application to use retrieve_from_bearer/3 on a reachable route with WebAuthn or Password strategy with sign_in_tokens_enabled?: true. Applications enforcing require_token_presence_for_authentication?: true or using session-based authentication are not vulnerable.

Potential Impact

An attacker who obtains a valid, not-yet-exchanged sign_in JWT token can replay it as a bearer token to authenticate as the token's subject, bypassing the intended one-time-use and revocation mechanisms. This allows unauthorized access to resources as the impersonated user. The vulnerability affects applications using stateless bearer-token verification with the vulnerable ash_authentication versions and specific configurations. Applications using session-based authentication or enforcing require_token_presence_for_authentication?: true are not impacted.

Mitigation Recommendations

No official patch or fix is explicitly stated in the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. As a mitigation, applications should configure require_token_presence_for_authentication?: true to enforce purpose checks on tokens or use session-based authentication paths that validate token purpose. Avoid using retrieve_from_bearer/3 on reachable routes with WebAuthn or Password strategy sign_in tokens enabled unless the purpose claim is strictly verified. Monitor vendor advisories for updates and patches.

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

Threat ID: 6a8d50d0acd9273b49e6aa87

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

Last enriched: 09/10/2026, 06:52:49 UTC

Last updated: 10/09/2026, 06:48:18 UTC

Views: 75

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