CVE-2026-139967

Source
https://cve.org/CVERecord?id=CVE-2026-139967
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139967.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139967
Aliases
Published
2026-12-04T06:38:22Z
Modified
2026-12-04T08:00:09Z
Severity
  • 6.7 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Plaintext API keys stored in AshAuthentication audit log entries
Details

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.

Database specific
{
    "cna_assigner":  "EEF",
    "cwe_ids":  [
        "CWE-532"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139967.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "4.12.0"
                        },
                        {
                            "fixed":  "4.15.2"
                        },
                        {
                            "introduced":  "5.0.0-rc.0"
                        },
                        {
                            "fixed":  "5.0.0-rc.19"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/team-alembic/ash_authentication

Affected ranges

Type
GIT
Repo
https://github.com/team-alembic/ash_authentication
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "255cfc9c0e511b7e0de39f8b3d676ae994fae06c"
                },
                {
                    "fixed":  "5083af274013ebbf1681d863a1383cb1af77fff0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "ChangesAt"
        },
        {
            "range":  [
                {
                    "fixed":  "255cfc9c0e511b7e0de39f8b3d676ae994fae06c"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "5083af274013ebbf1681d863a1383cb1af77fff0"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "f7271f40b25af22e1ff69dbc0f3b782b5b76d3f5"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139967.json"