Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify exposed kanidmd /scim/v1 endpoint
-
DeliveryCraft GET with ~4-12 KB nested-parenthesis filter
-
ExploitSend unauthenticated request
-
InstallAxum Query extractor invokes PEG parser
-
C2Recursive parse exhausts worker stack
-
ExecuteRust aborts kanidmd process
-
ImpactIdentity provider outage disrupts dependent SSO
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of Kanidm versions <= 1.9.2 whose /scim/v1/* HTTP endpoints are reachable by the attacker. The trigger is a single GET to any of nine SCIM routes (/scim/v1/Entry, /scim/v1/Entry/{id}, /scim/v1/Person/{id}, /scim/v1/Application, /scim/v1/Application/{id}, /scim/v1/Class, /scim/v1/Attribute, /scim/v1/Message, /scim/v1/Message/{id}) with a ?filter= query value containing a few thousand nested '(' characters (~4-12 KB). Limiting factors: the SCIM endpoints must be network-reachable (deployments that firewall /scim/v1/* to a management VLAN are not exposed), and any upstream proxy that caps URI/query length below ~4 KB or rewrites/strips the filter parameter will block the trigger; the bug is unaffected by Kanidm's role configuration because the SCIM router is merged for every server role. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H) accurately captures the threat: remote, unauthenticated, low-complexity, with high availability impact and no confidentiality or integrity loss. No EPSS score, SSVC decision, or KEV listing was supplied, and no public exploit identified at time of analysis, but the GHSA advisory describes the trigger in enough detail (a few thousand nested parentheses, 4-12 KB URI) that weaponisation is trivial and reliable. Real-world risk is high for any Internet-exposed Kanidm deployment because the bug crashes the entire identity provider - taking down SSO/login for every downstream service - and recovery requires process restart, so a small script loop can sustain an outage. Risk is lower if Kanidm sits behind a reverse proxy that enforces short URI / query-string limits or strict path allow-lists. |
| Exploit ScenarioDerived | An attacker on the Internet sends a single HTTP GET to https://kanidm.example.com/scim/v1/Entry?filter=((((((... (a few thousand opening parentheses, total URI ~8 KB). Axum's Query extractor invokes the PEG parser before authentication, the recursive parse blows past the 2 MiB worker stack guard page, and Rust aborts the kanidmd process, taking down SSO and login for every service that depends on it. The request can be looped from a single host with curl to sustain the outage; no credentials, prior reconnaissance, or user interaction are required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 10, 2026
Unauthenticated remote denial-of-service in Kanidm identity management server versions prior to 1.9.3 allows any network attacker to crash the entire kanidmd daemon by sending a single GET request to any /scim/v1/* endpoint with a deeply nested parenthesised ?filter= query string. The recursive-descent PEG parser exhausts the worker thread's 2 MiB stack, triggering Rust's std::process::abort(). No public exploit identified at time of analysis, but technical details and root cause are fully disclosed in the upstream advisory.
RemediationAI
Vendor-released patch: upgrade kanidmd and the scim_proto / kanidm_proto crates to 1.9.3 or later, which adds a depth bound to the PEG grammar (see https://github.com/kanidm/kanidm/releases/tag/v1.9.3 and advisory GHSA-r5fr-9gmv-jggh). If immediate patching is not possible, place Kanidm behind a reverse proxy (nginx, HAProxy, Caddy) and reject requests to /scim/v1/* whose query string exceeds a few hundred bytes or whose ?filter= value contains more than ~20 consecutive '(' characters; this blocks the trigger without altering SCIM semantics for normal clients but will break legitimate complex SCIM filter use cases. Lowering hyper's max_buf_size below the ~12 KB trigger threshold is not natively configurable in 1.9.2, so proxy filtering is the practical compensating control; restricting /scim/v1/* exposure to trusted management networks via firewall ACLs is also recommended and has no functional side effect for typical end-user authentication flows. The same 1.9.3 release also fixes a parallel LDAP filter stack-exhaustion DoS, so the upgrade closes both vectors.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in cargo, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Kanidm is a Rust-based identity and access management platform exposing a SCIM v1 HTTP API via the axum web framework. The flaw lives in the scim_proto and kanidm_proto crates, where the SCIM filter grammar is parsed using a peg::parser! macro with two recursive productions for '(' e:parse() ')' and 'not (' e:parse() ')' that have no depth bound (proto/src/scim_v1/mod.rs:281,293). The vulnerability maps to CWE-248 (Uncaught Exception) - when the recursion depth exceeds the worker thread's stack guard page, Rust converts the stack overflow into an unrecoverable abort that terminates the whole process. Crucially, the parse executes inside axum's Query<ScimEntryGetQuery> extractor before the handler body, and the VerifiedClientInformation extractor unconditionally returns Ok, so the existing semantic depth cap (DEFAULT_LIMIT_FILTER_DEPTH_MAX = 12) and ACL checks never run. The affected CPE is cpe:2.3:a:kanidm:kanidm:*:*:*:*:*:*:*:*.
Know when Kanidm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Single unauthenticated HTTP GET to a default-exposed SCIM endpoint crashes the daemon, giving AV:N/AC:L/PR:N/UI:N with only availability impact (A:H), no confidentiality or integrity loss, scope unchanged.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
Kanidm identity management server prior to version 1.9.3 is vulnerable to unauthenticated remote denial-of-service. Any attacker can crash the entire authentication server with a single malformed HTTP request to SCIM endpoints, disrupting user access across all dependent applications. Organizations running affected versions face complete authentication service outage without network-level protection.
Apply vendor patch. Upgrade to Kanidm 1.9.3 or later. Until patched: restrict network access to /scim/v1/* endpoints via firewall, disable SCIM service if not operationally required, and increase monitoring on authentication service availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-36133
GHSA-r5fr-9gmv-jggh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB