Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid LeafWiki user account
-
DeliveryAuthenticate and retrieve session token
-
ExploitSend crafted PATCH/PUT request to user update API with role=admin
-
ExecutionServer applies role change without authorization check
-
ImpactAttacker gains full admin privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid, authenticated LeafWiki user account on the target instance - any role (e.g., 'viewer') is sufficient. The vulnerability is present in default configurations of affected versions; no special feature flag or non-default setting is needed. Limiting factors include: instances that have disabled public registration and restrict account creation to trusted users are at lower practical risk, since an attacker must first obtain account credentials. Authentication is confirmed required by the CVSS PR:L metric and the vendor description. Instances without any untrusted users are not at meaningful risk from this specific vector. |
| Impact | The NVD-assigned CVSS 3.1 score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) accurately reflects the ease and impact of exploitation - low attack complexity, no user interaction, and full CIA impact upon gaining administrative control. The key limiting factor is PR:L: exploitation is gated behind a valid authenticated session, meaning unauthenticated attackers cannot directly exploit this flaw. No KEV listing exists and no public exploit code has been identified, so this is not currently under mass exploitation. However, the attack is trivially executable by any user with an account, and the lack of a KEV listing should not breed complacency on instances with open registration. Instances restricted to a small set of trusted users carry substantially lower practical risk, as stated in the vendor advisory. EPSS data is not available in the provided intelligence; exploitation probability should be considered moderate given the low technical barrier for authenticated users. |
| Exploit ScenarioDerived | An attacker registers or obtains a low-privileged LeafWiki account (e.g., with 'viewer' role) on a target instance. They craft an authenticated API request to the user update endpoint, supplying a role value of 'admin' in the request body alongside their own account identifier. The server applies the update without enforcing role-assignment authorization, granting the attacker full administrative access to the wiki instance. No public exploit code is known at time of analysis, but the attack requires no specialized tooling beyond an HTTP client. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 21, 2026
Privilege escalation in LeafWiki versions 0.1.0 through 0.10.0 allows any authenticated user to elevate their own account role to administrator by manipulating the user update API. The flaw stems from improper privilege management (CWE-269) in the API endpoint responsible for account updates, which fails to enforce role-assignment restrictions. No public exploit code has been identified at time of analysis, but the attack is straightforward for any user with a valid account, making instances with open or semi-trusted registration particularly exposed.
RemediationAI
Upgrade LeafWiki to version 0.10.1 or later, which contains the vendor-released patch addressing the improper role assignment in the user update API; see the advisory at https://github.com/perber/leafwiki/security/advisories/GHSA-jj4r-587p-r5h5. Until patching is possible, operators should disable public or open user registration to prevent untrusted users from obtaining accounts that could be leveraged for escalation. Additionally, restrict network-level or application-level access to the user update API endpoint to administrators or trusted IP ranges only - note that this may break legitimate self-service profile update workflows for regular users. Auditing existing user accounts for unexpected role assignments is also advisable as a post-incident hygiene step.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LeafWiki is a self-hosted wiki application developed by perber (CPE: cpe:2.3:a:perber:leafwiki:*:*:*:*:*:*:*:*). The vulnerability is rooted in CWE-269 (Improper Privilege Management): the user update API endpoint accepts a role parameter in the request body and applies it without verifying that the requesting user has the authority to assign elevated roles. This is a classic IDOR/broken access control pattern at the API layer, where server-side enforcement of the privilege boundary is absent. Affected versions span the entire release history from 0.1.0 up to and including 0.10.0.
Know when Leafwiki 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-accessible API exploitable by any authenticated user (PR:L, AV:N, AC:L); admin takeover yields full CIA impact with no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
LeafWiki is a self-hosted wiki. Versions 0.1.0 through 0.10.0 have a privilege escalation vulnerability in the user update API. An authenticated user could update their own account role and escalate privileges from a regular user, such as viewer, to admin. Exploitation requires a valid authenticated LeafWiki user account. Instances without public registration and with only trusted users are at lower practical risk. Users should update to version 0.10.1 or greater. Until a patch is available, operators should restrict account creation and ensure that only trusted users have accounts on affected LeafWiki instances. If possible, access to the user update API should be restricted to trusted users or administrators only.
Executive ViewAI
Any authenticated user on LeafWiki instances running versions 0.1.0-0.10.0 can escalate their own permissions to administrator level, converting standard user accounts into full system access points. This transforms the application's user population from restricted operators into potential system administrators, creating pathways for insider threats and credential-based administrative takeover. Organizations with permissive account registration face heightened exposure to unauthorized administrative control.
Apply vendor patch.
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
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Path traversal in LeafWiki's asset rename endpoint allows authenticated editors to relocate any file readable by the ser
Uncontrolled ZIP extraction in LeafWiki 0.10.0 through 0.12.0 allows any authenticated Editor or Admin to exhaust server
Stored cross-site scripting in LeafWiki's search API allows an authenticated editor or administrator to plant a JavaScri
EUVD-2026-64176
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB