Vulnerability in ash_authentication
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-49757 has been found in ash_authentication.
Risk of unauthorized operations or information disclosure.
What to do: upgrade ash_authentication to 4.14.0, 5.0.0-rc.10 or later.
If unsure, ask your IT team or search "ash_authentication CVE-2026-49757" on the vendor's site.
CVE-2026-49757 (ash_authentication) — CWE-290
Patched: 4.14.0, 5.0.0-rc.10 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-290) exists in ash_authentication.
Check the vendor advisory for the affected versions of ash_authentication.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 4.14.0, 5.0.0-rc.10.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'ash_authentication' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'ash_authentication' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
ash_authenticationを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade ash_authentication to 4.14.0, 5.0.0-rc.10ステージング環境で 4.14.0, 5.0.0-rc.10 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Hexash_authentication |
≥ 0.6.0, < 4.14.0→ 4.14.0 ≥ 5.0.0-rc.0, < 5.0.0-rc.10→ 5.0.0-rc.10 |
4.14.0 5.0.0-rc.10 |
| erlangash_authentication |
< 5.0.0-rc.10→ 5.0.0-rc.10 |
5.0.0-rc.10 |
| team-alembicash_authentication |
≥ c5f589058e04239263f50a1430eb17ea6d5dd1a2 (no fix yet)→ 64530644f9b37ebb76ca14aeb83a77597a0034b7, 728b8d28c1b5f465fa1116ef044a815300fc733d |
64530644f9b37ebb76ca14aeb83a77597a0034b7, 728b8d28c1b5f465fa1116ef044a815300fc733d |
Original description The description as published by the source.
Summary
Authentication Bypass by Spoofing vulnerability in team-alembic AshAuthentication allows account takeover of local users via OAuth2/OIDC sign-in.
AshAuthentication's OAuth2 and OIDC family strategies matched the local user by email address (an upsert on the email field, or a user-defined sign-in filter) rather than by the OpenID Connect iss/sub claim combination. Per OpenID Connect Core §5.7, only iss/sub uniquely and stably identifies an end-user; other claims, including email, MUST NOT be used as unique identifiers.
A provider login presenting a victim's email, including an unverified email, a reused email, or an account with email_verified: false, resolved to and signed in as the victim's existing local account. An unauthenticated attacker who can register an account on any accepted OAuth provider with the victim's email (or who benefits from provider-side email reuse or reclamation) obtains the victim's full local privileges.
The fix resolves users by the (strategy, sub) identity stored in a user identity resource, and only links a new sub to an existing local account by email when the provider's email_verified claim is trusted (trust_email_verified?).
This issue affects ash_authentication: from 0.6.0 before 4.14.0 and from 5.0.0-rc.0 before 5.0.0-rc.10.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package hex.pm
- package github.com
- package github.com
- patch github.com
- patch github.com
- web cna.erlef.org
- web osv.dev
- web github.com
- web github.com
- web github.com
- web github.com
- web repo.hex.pm
- web github.com