Skip to content
FlawDB
Sign in

CVE-2026-139967

MEDIUM 6.7

Plaintext API keys stored in AshAuthentication audit log entries

Mitigation

  • Upgrade ash_authentication to 5.0.0-rc.19 or later.
  • Vendor workaround: 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.

Who should check

  • Anyone running team-alembic ash_authentication >= 4.12.0, < 4.15.2; >= 5.0.0-rc.0, < 5.0.0-rc.19
  • Anyone running team-alembic ash_authentication >= 255cfc9c0e511b7e0de39f8b3d676ae994fae06c, < *

Vulnerability facts

Affected
team-alembic ash_authentication >= 4.12.0, < 4.15.2; >= 5.0.0-rc.0, < 5.0.0-rc.19; team-alembic ash_authentication >= 255cfc9c0e511b7e0de39f8b3d676ae994fae06c, < *
Fixed in
team-alembic ash_authentication 4.15.2, team-alembic ash_authentication 5.0.0-rc.19
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
6.7 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: High
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
CWE
CWE-532
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
team-alembic ash_authentication>= 4.12.0, < 4.15.2; >= 5.0.0-rc.0, < 5.0.0-rc.19—cvelist
team-alembic ash_authentication>= 255cfc9c0e511b7e0de39f8b3d676ae994fae06c, < *—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-139967. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139967.md
Affected: team-alembic ash_authentication >= 4.12.0, < 4.15.2; >= 5.0.0-rc.0, < 5.0.0-rc.19; team-alembic ash_authentication >= 255cfc9c0e511b7e0de39f8b3d676ae994fae06c, < *
Fixed in: team-alembic ash_authentication 4.15.2, team-alembic ash_authentication 5.0.0-rc.19

Steps:
1. Search this machine and project for team-alembic ash_authentication: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-139967 being exploited?

There is no confirmed exploitation: CVE-2026-139967 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-139967?

Medium: CVSS 6.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-139967?

team-alembic ash_authentication >= 4.12.0, < 4.15.2; >= 5.0.0-rc.0, < 5.0.0-rc.19; team-alembic ash_authentication >= 255cfc9c0e511b7e0de39f8b3d676ae994fae06c, < *.

Is there a fix for CVE-2026-139967?

Yes. Fixed in team-alembic ash_authentication 4.15.2, team-alembic ash_authentication 5.0.0-rc.19. Upgrade ash_authentication to 5.0.0-rc.19 or later. Vendor workaround: 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.

How do I check if I'm affected by CVE-2026-139967?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors