CVE-2026-65633
Last modified
CVE-2026-65633 is a high-severity vulnerability rated 7.6/10 on the CVSS scale. Improper Authentication vulnerability in team-alembic AshAuthentication allows purpose-limited JWTs to be replayed as full bearer API credentials when a resource uses stateless bearer-token verification. The bearer-token authentication helper AshAuthentication.Plug.Helpers.retrieve_from_bearer/3 verifies an Authorization: Bearer JWT's signature and rejects tokens containing an act claim, but performs no 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 (the DSL default), the follow-on validate_token/3 helper returns {:ok, nil} without consulting the token resource, so no downstream check on purpose takes place either. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
Improper Authentication vulnerability in team-alembic AshAuthentication allows purpose-limited JWTs to be replayed as full bearer API credentials when a resource uses stateless bearer-token verification. The bearer-token authentication helper AshAuthentication.Plug.Helpers.retrieve_from_bearer/3 verifies an Authorization: Bearer JWT's signature and rejects tokens containing an act claim, but performs no 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 (the DSL default), the follow-on validate_token/3 helper returns {:ok, nil} without consulting the token resource, so no downstream check on purpose takes place either. As a result, any valid, non-expired JWT the library itself issued for a narrow, single-purpose flow (most notably the purpose: sign_in token that WebAuthn always emits during sign-in, and that the Password strategy emits when sign-in tokens are enabled) is accepted directly as a general-purpose bearer credential and resolves to a full current_user assignment. This bypasses the library's intended token-exchange contract, in which the sign_in token is meant to be presented exactly once to a preparation that validates the purpose claim and immediately revokes the token. The first use of a still-valid sign-in token presented directly in the Authorization header succeeds because the stateless bearer path never scopes it to purpose == "user". An attacker who obtains a not-yet-exchanged sign-in token for a target subject (for example via log or referrer leakage, an intercepted magic-link delivery channel, or a partially compromised intermediary) can present it as a bearer token and be authenticated as that subject, fully bypassing the intended one-time-use and revocation semantics. Exploitation additionally requires that the host application wire up retrieve_from_bearer/3 on a reachable route and uses either WebAuthn (sign-in tokens are always issued) or the Password strategy with sign_in_tokens_enabled?: true. Resources configured with require_token_presence_for_authentication?: true (including applications scaffolded by the Igniter installer since v4.5.0) and the session-based path (authenticate_resource_from_session/4) enforce purpose == "user" against the stored token record and are not affected. This issue affects ash_authentication: from 3.10.5 before 4.14.2 and from 5.0.0-rc.0 before 5.0.0-rc.13.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| team-alembic | ash_authentication | >= 3.10.5, < 4.14.2; >= 5.0.0-rc.0, < 5.0.0-rc.13 |
| team-alembic | ash_authentication | >= eca8cadea0f1595ed2c10a0c177b1da9aa9e5269, < * |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-65633?
How severe is CVE-2026-65633?
How do I fix CVE-2026-65633?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-65617A deserialization weakness in JFrog Artifactory package hand…8.8
- CVE-2026-65618Improper URL validation when handling specific URLs, allows …6.5
- CVE-2026-6562A flaw has been found in dameng100 muucmf 1.9.5.20260309. Im…7.3
- CVE-2026-65623Inefficient Algorithmic Complexity vulnerability in mtrudel …8.7
- CVE-2026-65624Allocation of Resources Without Limits or Throttling vulnera…6.9
- CVE-2026-6563A vulnerability has been found in H3C Magic B1 up to 100R004…8.8
- CVE-2026-65634Inefficient algorithmic complexity in the Erlang/OTP asn1 OB…8.2
- CVE-2026-65635Improper Isolation or Compartmentalization vulnerability in …8.3
- CVE-2026-65636Improper Neutralization of CRLF Sequences vulnerability in u…2.1
- CVE-2026-65637Improper Input Validation vulnerability in Apache Tomcat due…9.8
- CVE-2026-65638Improper escaping of a request URL in ConfigServer Security…9.2
- CVE-2026-65639OS command injection in the advanced-rule parser of ConfigSe…9.5
Are you affected by CVE-2026-65633?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
