Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with editor credentials
-
DeliveryAccess asset rename endpoint
-
ExploitSupply path traversal sequence targeting sensitive file
-
ExecutionServer moves file into page asset directory
-
PersistRetrieve file via HTTP GET on asset URL
-
ImpactExtract sensitive data from downloaded file
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
|
| Exploitation Conditions | Exploitation requires a valid LeafWiki account with editor-level permissions - PR:L in CVSS terms. The attack targets the asset rename endpoint specifically; read/write access to that endpoint is gated on the editor role. The LeafWiki server process must have read (and rename/move) access to the target sensitive file for the traversal to succeed; if the process is correctly sandboxed to its own directory, the traversal finds no sensitive files to move. No special network position, no user interaction from another party, and no non-default configuration are required beyond holding editor credentials. The primary limiting factors are: (1) editor-role membership is required and should not be granted to untrusted users, and (2) a properly least-privileged process account eliminates the reachable file set even when the vulnerability is triggered. |
| Impact | The NVD CVSS 3.1 score of 8.8 with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H correctly characterizes the core mechanics: network-reachable, no special conditions, editor-level credentials only, no user interaction. The C:H/I:H/A:H impact triad is defensible because a single rename operation targeting the application's SQLite or similar database simultaneously exposes its contents (C:H), destroys the running application's data integrity (I:H), and renders the wiki inoperable (A:H). No EPSS score is present in the provided intelligence, and the CVE is absent from CISA KEV, so active exploitation is not confirmed - the real-world risk is therefore driven by the low barrier for any credentialed insider or compromised editor account rather than by observed threat-actor activity. The PR:L prerequisite is the primary limiting factor: in small or tightly managed deployments where editor access is restricted to fully trusted personnel, risk is materially reduced. In broader multi-user or open-registration deployments, the editor credential requirement provides minimal protection and the issue should be treated as critical. |
| Exploit ScenarioDerived | An attacker with a legitimate LeafWiki editor account uses the asset rename API to supply a traversal path (e.g., '../../app.db') as the source and a valid page asset name as the destination. The server moves the application database into that page's asset folder, and the attacker retrieves it via a standard HTTP GET to the asset URL - no elevated privileges, no server-side code execution, and no additional tooling required. No public exploit code has been identified at time of analysis, but the technique is straightforward for anyone with editor access and knowledge of common LeafWiki deployment layouts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 21, 2026
Path traversal in LeafWiki's asset rename endpoint allows authenticated editors to relocate any file readable by the server process into a page's public asset directory, making it downloadable over HTTP. All releases from 0.3.0 through 0.10.0 (CPE: cpe:2.3:a:perber:leafwiki:*:*:*:*:*:*:*:*) are affected; version 0.10.1 contains the fix. No CISA KEV listing or public exploit code has been identified at time of analysis, but the low exploitation complexity and high-impact outcome - including potential exposure of the application database - make prompt patching urgent for any multi-user deployment.
RemediationAI
The primary fix is to upgrade LeafWiki to version 0.10.1 or later, which resolves the path traversal in the asset rename function; the vendor advisory is at https://github.com/perber/leafwiki/security/advisories/GHSA-g2wp-jm5c-jqfj. Until the patch is applied, operators should restrict editor role assignment to fully trusted users only, as this removes the primary attack surface. As a defense-in-depth measure - and as explicitly recommended by the advisory - the LeafWiki process should run under a dedicated low-privilege OS account with filesystem access scoped strictly to the application's own directories (e.g., content, assets, config); this prevents traversal from reaching sensitive files such as the database even if the vulnerability is triggered. Operators should also audit the asset directories of all existing pages for unexpected files that may have been moved there prior to detection.
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 under the GitHub handle 'perber'. The vulnerability is classified as CWE-23 (Relative Path Traversal): the asset rename function accepts a user-controlled destination path and fails to normalize or canonicalize it before executing the filesystem move operation. This permits an editor to supply traversal sequences (e.g., '../') that escape the intended per-page asset directory and target arbitrary paths on the host filesystem - provided the LeafWiki process has read access to those paths. Because the relocated file is subsequently served as a legitimate page asset via standard HTTP, no special tooling is required to retrieve it after the move. The EUVD entry EUVD-2026-64177 and GitHub Security Advisory GHSA-g2wp-jm5c-jqfj corroborate the scope of affected versions.
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-reachable rename API requires only editor login (PR:L); moving the database causes full confidentiality, integrity, and availability loss within the application scope.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
LeafWiki is a self-hosted wiki. Versions 0.3.0 through 0.10.0 have a path traversal vulnerability in LeafWiki’s asset rename functionality. An authenticated user with editor permissions could move files that are accessible to the LeafWiki server process into a page’s asset directory. This could allow sensitive local files, such as the application database, to become downloadable as page assets. Users should update to version 0.10.1 or greater. As an additional mitigation, operators should ensure that the LeafWiki process runs with the least privileges necessary and does not have filesystem access to sensitive files outside the application’s required directories. Until a patch is applied, operators may reduce risk by restricting editor access to trusted users only and by limiting the filesystem permissions of the LeafWiki process.
Executive ViewAI
LeafWiki versions 0.3.0 through 0.10.0 expose sensitive files including application databases to download by authenticated editors via path traversal. No public exploit identified at time of analysis, but database exposure risk in multi-user environments warrants immediate patching to version 0.10.1.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Privilege escalation in LeafWiki versions 0.1.0 through 0.10.0 allows any authenticated user to elevate their own accoun
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-64177
NVD
CVE.org
EPSS
GitHub
Exploit-DB