Vulnerability EEF-CVE-2026-139967

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
1 day ago
December 04, 2026 at 06:38 AM UTC
Plaintext API keys stored in AshAuthentication audit log entries
4.12.0 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 and 5.0.0-rc.16 and 5.0.0-rc.17 and 5.0.0-rc.18
4.12.0 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 and 5.0.0-rc.16 and 5.0.0-rc.17 and 5.0.0-rc.18

Summary

Plaintext API keys stored in AshAuthentication audit log entries

Details

Summary

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.

Impact

A reader of the audit store takes a logged API key and signs in as its user through the API key strategy, with that user's permissions, until the key is revoked.

Workarounds

Mark the api_key argument of the API key sign-in action sensitive?: true, and do the same for any secret argument of a magic link, OTP, TOTP, recovery code or confirmation action the application defines. Alternatively, add the sign-in action to the audit log's exclude_actions. Neither removes keys already logged; see the solution.

Configurations

The audit_log add-on is enabled and the api_key strategy's sign-in action does not mark its api_key argument sensitive?: true, which is how the generator, the API keys guide and the usage rules write it. The other secrets are exposed only when the action the application defines for them omits sensitive?. Fields named in include_fields are logged by design.

Solutions

Upgrade to 4.15.2 or 5.0.0-rc.19. The audit log then never records a strategy's secret arguments unless include_fields names them, and an API key sign-in action whose argument is not sensitive compiles with a warning.

Upgrading does not remove keys already logged. Treat every API key used while the add-on was enabled as exposed and revoke it; the middle segment of each key encodes the id of its API key record. Remove the keys from existing entries, for example on PostgreSQL with UPDATE <audit_log_table> SET extra_data = extra_data #- '{params,api_key}' WHERE extra_data->'params' ? 'api_key';, and account for backups, replicas and exports of the audit table.

Related Vulnerabilities

Other vulnerabilities affecting the same packages

Unknown
1 month ago
AshAuthentication log_out_everywhere leaves sessions valid after a password reset or non-atomic password change
4.5.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-110826
4.5.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-110826
Unknown
1 month ago
AshAuthentication brute_force_strategy does not limit sign-in and request actions defined on the resource
5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-118505
5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-118505
Unknown
1 month ago
AshAuthentication TOTP setup lets a user install their own authenticator secret on another user's account
5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-119215
5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 and 5.0.0-rc.14 and 5.0.0-rc.15 EEF-CVE-2026-119215
Unknown
2 months ago
Session id is not renewed on authentication in ash_authentication, allowing session fixation
3.0.3 - 3.3.1 and 3.5.0 - 3.7.6 and 3.7.8 - 4.0.0-rc.0 and 4.0.0-rc.1 and 4.0.0-rc.2 and 4.0.0-rc.3 and 4.0.0-rc.5 and 4.0.0-rc.6 and 4.0.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 EEF-CVE-2026-86688
3.0.3 - 3.3.1 and 3.5.0 - 3.7.6 and 3.7.8 - 4.0.0-rc.0 and 4.0.0-rc.1 and 4.0.0-rc.2 and 4.0.0-rc.3 and 4.0.0-rc.5 and 4.0.0-rc.6 and 4.0.0 - 4.8.3 and 4.8.5 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 EEF-CVE-2026-86688
Unknown
2 months ago
Remember-me sign-in guard reads a session key that is never written in ash_authentication, allowing session replacement
4.10.0 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 EEF-CVE-2026-76949
4.10.0 - 5.0.0-rc.0 and 5.0.0-rc.1 and 5.0.0-rc.2 and 5.0.0-rc.3 and 5.0.0-rc.4 and 5.0.0-rc.5 and 5.0.0-rc.6 and 5.0.0-rc.7 and 5.0.0-rc.8 and 5.0.0-rc.9 and 5.0.0-rc.10 and 5.0.0-rc.11 and 5.0.0-rc.12 and 5.0.0-rc.13 EEF-CVE-2026-76949
View all vulnerabilities for these packages

Impacted packages

Timeline

Published
1 day ago
December 04, 2026 at 06:38 AM UTC
Fixed (4.15.2)
2 days ago
December 03, 2026 at 10:06 AM UTC
Last Modified
1 day ago
December 04, 2026 at 06:56 AM UTC