SecurityContext

CVE-2025-25202: Ash Authentication - Broken Access Control

  • Cve: CVE-2025-25202
  • Name: Ash Authentication - Broken Access Control
  • Description: Ash Authentication is an authentication framework for Elixir applications. Applications which have been bootstrapped by the igniter installer present since AshAuthentication v4.1.0 and who have used the magic link strategy _or_ are manually revoking tokens are affected by revoked tokens being allowed to verify as valid. Unless one hase implemented any kind of custom token revocation feature in your application, then one will not be affected. The impact here for users using builtin functionality is that magic link tokens are reusable until they expire. With that said, magic link tokens are only valid for 10 minutes, so the surface area for abuse is extremely low here. The flaw is patched in version 4.4.9. Additionally a compile time warning is shown to users with remediation instructions if they upgrade. 4.4.9 ships with an upgrader, so those who use `mix igniter.upgrade ash_authentication` will have the necessary patch applied. Otherwise, one may run the upgrader manually as described in the error message. As a workaround, delete the generated `:revoked?` generic action in the token resource. This will cause it to use the one internal to Ash Authentication which has always been correct. Alternatively, manually make the changes that are included in the patch.
  • Impact: Revoked tokens can be verified as valid, allowing potential reuse of magic links within their 10-minute validity window, posing a low risk of abuse.
  • Remediation: Upgrade to version 4.4.9 or later, run `mix igniter.upgrade ash_authentication`, or manually apply the patch as per instructions. Alternatively, delete the `:revoked?` generic action in the token resource.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: broken_access_control
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00321
  • Epss percentile: 0.25285
  • Assignee: [email protected]
  • Published at: 2025-02-11T19:15:18Z
  • Age in days: 651
  • Modified at: 2026-06-17T09:00:28Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-25202
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-269Improper Privilege Management

Public exploits

UrlSourceAdded date
https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-qrm9-f75w-hg4cnvd2025-02-11

References

UrlSourceTags
https://github.com/team-alembic/ash_authentication/commit/2dee55252df26fe3d990ff1199397cdcf1bfea8anvdPatch
https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-qrm9-f75w-hg4cnvdExploit, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
alembic:ash_authentication>= 4.1.0, < 4.4.9nonvd/v1/products/alembic/ash_authentication

Projects

RepositoryLink kindsIndexedUrl
team-alembic/ash_authenticationcommit, fix, package, security_advisoryyes/v1/repositories/team-alembic/ash_authentication

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-02-11
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts