Skip to main content
VulnerabilityPublished

Kanidm has non-constant-time comparison of OAuth2 client_secret

Affects kanidmSource GCVE Database

0

CVSS 3.7 Low : upgrade to 1.9.3 when convenient.

Data as of 27 Oct 2026, 02:27 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.9.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

What to do

Upgrade kanidm to 1.9.3.

Affected software

ProductAffectedFixed in
crates.iokanidmAffected
  • <1.9.3
Fixed in
  • 1.9.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in kanidm version 1.9.3 that replaces the variable-time comparison with a constant-time comparison to eliminate timing discrepancies. Users should upgrade to version 1.9.3 or later to remediate this issue.

Description

Kanidm's OAuth2 token-exchange and token-introspection endpoints use a non-constant-time comparison for the client_secret, which leaks timing information based on the length of the matching prefix. This timing discrepancy could theoretically allow an attacker to incrementally recover the secret. However, due to the high entropy of the secret, TLS protection, and network noise, practical remote exploitation is unlikely. A fix is available in version 1.9.3.

References

Community reviews

Loading reviews…