Security mailing lists by PureSourceCode

CVE-2026-139967

MEDIUM 6.7CVSS 4.0

Plaintext API keys stored in AshAuthentication audit log entries

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.

Published
4 Dec 2026
Last modified
4 Dec 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Deferred
Weakness
CWE-532
Also known as
EEF-CVE-2026-139967GHSA-m7jx-358r-4v58
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-139967JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 MEDIUM 6.7 CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List EEF CVSS 4.0 MEDIUM 6.7 CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm ash_authentication
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*
>= 4.12.0, < 4.15.2; >= 5.0.0-rc.0, < 5.0.0-rc.19 4.15.2, 5.0.0-rc.19
CVE List https://github.com team-alembic/ash_authentication
cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*
>= 255cfc9c0e511b7e0de39f8b3d676ae994fae06c
OSV Hex ash_authentication >= 4.12.0, < 4.15.2; >= 5.0.0-rc.0, < 5.0.0-rc.19 4.15.2, 5.0.0-rc.19

References

History

  • 4 Dec 2026 09:09 UTC · NVD: first stored (published 4 Dec 2026)
  • 4 Dec 2026 07:09 UTC · OSV: first stored (published 4 Dec 2026)
  • 4 Dec 2026 06:56 UTC · CVE List: first stored (published 4 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.