Plaintext API keys stored in AshAuthentication audit log entries
- CVE-2026-139967
- EUVD-2026-144052
Description
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.
Text from the CVE.org record.
Recommendation
team-alembic ash_authentication
- If you run 5.0.xupdate to 5.0.0-rc.19 or laterPatch update: breaking changes are unlikely
- If you run a version from 4.12.0 to before 4.15.2update to 4.15.2 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
team-alembic ash_authentication
Affected versions Fixed in from 5.0.0-rc.0 to before 5.0.0-rc.19 5.0.0-rc.19 from 4.12.0 to before 4.15.2 4.15.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.