CVE-2026-46689

Kanidm: Unauthenticated process abort via SCIM filter stack exhaustion

Published Jun 10, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Kanidm identity management servers suffered a stack overflow in the SCIM filter parser when an unauthenticated GET request to any /scim/v1/... endpoint contained a query string with a few thousand nested parentheses. The parser runs before any access control checks, and the resulting stack exhaustion triggers Rust’s std::process::abort(), terminating the entire kanidmd process. The vulnerability leads to an unwarranted service interruption and is not exploitable for code execution or privilege escalation. The weakness falls under CWE‑400 (Uncontrolled Resource Consumption), CWE‑248 (Excessive Resource Consumption), and CWE‑674 (Unchecked Return Value/Uncontrolled Recursion).

Affected Systems

Any installation of Kanidm using a version earlier than 1.9.3—any variant of the kanidm product— is affected. An update to version 1.9.3 or later removes the recursive parser and eliminates the stack guard failure.

Risk and Exploitability

The CVSS v3 score of 8.7 classifies this issue as high severity. No EPSS score is currently reported, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no confirmed exploits yet. Attackers can trigger the denial of service simply by sending a crafted, unauthenticated HTTP GET to the vulnerable SCIM endpoint, which is reachable over the network, implying a high likelihood of exploitation in hostile environments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kanidm to version 1.9.3 or later to remove the vulnerable parser code.
  • If an immediate upgrade is not possible, block or rate-limit external access to the /scim/v1/... endpoints and reject requests containing large or deeply nested "?filter=" query strings.
  • Configure the web server or application gateway to enforce a maximum query string length that prevents stack overflow, ensuring that any request exceeding the safe threshold is denied before reaching the application core.

Generated by OpenCVE AI on June 10, 2026 at 22:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r5fr-9gmv-jggh scim_proto and kanidm_proto have an authenticated process abort via SCIM filter stack exhaustion
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kanidm
Kanidm kanidm
Vendors & Products Kanidm
Kanidm kanidm
Type Values Removed Values Added
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.
Title Kanidm: Unauthenticated process abort via SCIM filter stack exhaustion
Weaknesses CWE-248
CWE-400
CWE-674
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 11, 2026, 12:55 PM
Reserved
May 15, 2026, 9:46 PM
Status
Deferred
Published
Jun 10, 2026, 10:17 PM
Modified
Jul 23, 2026, 9:10 AM