Plaintext API keys stored in AshAuthentication audit log entries
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-532.
Summary
Sensitive information is written to a log file in team-alembic ash_authentication from 4.12.0 before 4.15.2 and from 5.0.0-rc.0 before 5.0.0-rc.19. The audit log stores plaintext API keys in its entries because the API key sign-in action does not mark the key as sensitive, which is a case of CWE-532. A user with high privileges who can read the audit log, its backups or an admin view of it can sign in as any user who has signed in with an API key.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
Insertion of Sensitive Information into Log File vulnerability in team-alembic ash_authentication allows a reader of the audit log to sign in as any user who has signed in with an API key. The audit_log add-on records every public argument of an audited action that is not marked sensitive?. The API key sign-in action written by mix ash_authentication.add_strategy.api_key, the API keys guide and the usage rules declares api_key without sensitive?, and nothing required it, so every API key sign-in, including each request AshAuthentication.Strategy.ApiKey.Plug authenticates, stored the plaintext key in the entry's extra_data. The application keeps only key hashes, but anyone who can read the audit table, its backups or an admin view of it obtains working keys. Magic link and confirmation tokens, one-time passwords, and TOTP and recovery codes were stored the same way when the action did not mark them sensitive. This issue affects ash_authentication: from 4.12.0 before 4.15.2 and from 5.0.0-rc.0 before 5.0.0-rc.19.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| team-alembic | ash_authentication | 4.12.0 to before 4.15.2; 5.0.0-rc.0 to before 5.0.0-rc.19 | 4.15.2, 5.0.0-rc.19 | Patch available | CNA |
- ash_authentication Vendorteam-alembic Affected 4.12.0 to before 4.15.2; 5.0.0-rc.0 to before 5.0.0-rc.19 Fixed in 4.15.2, 5.0.0-rc.19 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Update ash_authentication to 4.15.2 or 5.0.0-rc.19, whichever matches the installed release line.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA ash_authentication (team-alembic) Fixed in 4.15.2, 5.0.0-rc.19
Timeline
- 2026-12-04 Threatist record created from CVE-2026-139967
References
Patch 2
More team-alembic vulnerabilities
- TI-2026-36668 OAuth2/OIDC account takeover in AshAuthentication via email-based user matching CVSS 4.0CRITICAL 9.2
- TI-2026-46782 Purpose-limited JWT accepted as full bearer authentication in AshAuthentication CVSS 4.0HIGH 7.6
- TI-2026-59214 Revoked session accepted because the session jti is never checked in AshAuthentication and AshAuthentication Phoenix CVSS 4.0CRITICAL 9.1
- TI-2026-58664 `require_confirmed_with` is not enforced on the action and fails open on an unreadable attribute in AshAuthentication CVSS 4.0CRITICAL 9.1
- TI-2026-53751 Remember-me sign-in guard reads a session key that is never written in ash_authentication, allowing session replacement CVSS 4.0CRITICAL 9.1
- TI-2026-57079 Magic link single-use tokens replayable via TOCTOU race in AshAuthentication CVSS 4.0CRITICAL 9.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences