CVE-2025-30205 kanidm-provision leaks provisioned admin credentials into the system log

High 7.6 Published Updated

Attackers with log access can read admin credentials leaked by kanidm-provision when using optional patches, requiring recompilation or log level changes.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-30205?

CVE-2025-30205 is a high-severity vulnerability in oddlama kanidm-provision, published on 24 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

kanidim-provision is a helper utility that uses kanidm's API to provision users, groups and oauth2 systems. Prior to version 1.2.0, a faulty function intrumentation in the (optional) kanidm patches provided by kandim-provision will cause the provisioned admin credentials to be leaked to the system log. This only impacts users which both use the provided patches and provision their `admin` or `idm_admin` account credentials this way. No other credentials are affected. Users should recompile kanidm with the newest patchset from tag `v1.2.0` or higher. As a workaround, the user can set the log level `KANIDM_LOG_LEVEL` to any level higher than `info`, for example `warn`.

Weakness: CWE-532

Which versions are affected by CVE-2025-30205?

How do I fix CVE-2025-30205?

No fix has been published for CVE-2025-30205 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-30205 being exploited?

There is no known exploitation of CVE-2025-30205 in the wild and no public exploit code.

Sources

Also known as GHSA-57fc-pcqm-53rp.

Is CVE-2025-30205 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free