Skip to content

CVE-2026-46689 Kanidm: Unauthenticated process abort via SCIM filter stack exhaustion

HighCVSS 8.7 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

Kanidm is an identity management platform. Prior to version 1.9.3, a single unauthenticated GET to any /scim/v1/... endpoint with a ?filter= query string of a few thousand nested parentheses (≈ 4–12 KB) drives the recursive-descent PEG parser past the worker thread's stack guard page. Rust responds to stack overflow with std::process::abort() — the entire kanidmd process exits. The parse runs inside axum's Query<ScimEntryGetQuery> extractor, before any handler body and therefore before any ACL check. This issue has been patched in version 1.9.3.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io kanidm_proto(crates.io) < 1.9.3; <= 1.9.2 1.9.3 Fixed
crates.io scim_proto(crates.io) < 1.9.3; <= 1.9.2 1.9.3 Fixed
kanidm = < 1.9.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io scim_proto(crates.io) < 1.9.3 1.9.3
crates.io kanidm_proto(crates.io) < 1.9.3 1.9.3
kanidm = < 1.9.3 No fix listed
crates.io scim_proto(crates.io) <= 1.9.2 No fix listed
crates.io kanidm_proto(crates.io) <= 1.9.2 No fix listed

References