Skip to main content

Kanidm CVE-2026-46689

| EUVDEUVD-2026-36133 HIGH
Uncaught Exception (CWE-248)
2026-06-10 GitHub_M GHSA-r5fr-9gmv-jggh
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify exposed kanidmd /scim/v1 endpoint
  2. Delivery
    Craft GET with ~4-12 KB nested-parenthesis filter
  3. Exploit
    Send unauthenticated request
  4. Install
    Axum Query extractor invokes PEG parser
  5. C2
    Recursive parse exhausts worker stack
  6. Execute
    Rust aborts kanidmd process
  7. Impact
    Identity 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

kanidm < 1.9.3

Affected Packages

cargo kanidm_proto fix: 1.9.3
cargo scim_proto fix: 1.9.3
euvd kanidm fix: 1.9.3

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

Vendor (GitHub_M) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 10, 2026 - 23:01 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 87% exploitable
Threat Intel
1
1 sources
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy