Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Editor-role credentials
-
DeliveryCraft high-ratio ZIP bomb under 500 MiB compressed
-
ExploitUpload archive to LeafWiki import endpoint
-
Executionio.Copy streams unbounded decompressed data to OS temp directory
-
PersistBacking storage (disk or tmpfs RAM) exhausted
-
ImpactService denial for all users
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
|
| Exploitation Conditions | Exploitation requires a valid LeafWiki account assigned the Editor or Admin role; unauthenticated or Viewer-role access to the import endpoint is not possible. The LeafWiki instance must be network-reachable by the attacker. No non-default configuration is required beyond the attacker possessing the Editor credential. The denial-of-service severity is amplified - but not exclusively dependent on - the OS temporary directory being tmpfs-backed, a common Linux default; on persistent-disk-backed temp directories the attack still exhausts disk space but does not consume RAM. Limiting factors are the Editor role requirement (restricting exploitation to credentialed contributors) and the upload interaction, which produces an audit log entry. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N, score 7.1) accurately characterises the threat: network-reachable, low-complexity, requiring only a low-privileged (Editor) account, producing high availability impact with no confidentiality or integrity consequence. The Editor role prerequisite is the sole meaningful exploitation barrier - once an attacker holds that credential the attack requires nothing more than uploading a crafted file. LeafWiki is a niche open-source wiki with limited enterprise deployment, which constrains the population of exposed instances. No CISA KEV listing and no public exploit code are identified, making opportunistic at-scale exploitation unlikely; the realistic threat actor is a malicious or compromised insider or a low-trust wiki contributor. EPSS data was not provided in the input and cannot be cited. The vendor tag 'Information Disclosure' applied to this CVE appears inconsistent with the actual impact (availability-only); analysts should disregard that tag and rely on the CVSS vector and description instead. |
| Exploit ScenarioDerived | An authenticated Editor logs into a LeafWiki instance, crafts a single-file ZIP archive with a high-ratio deflate payload (e.g., a multi-gigabyte sequence of null bytes compressed to well under 500 MiB), and submits it to the import endpoint. LeafWiki's extractor calls io.Copy with no size limit, streaming the decompressed output into the OS temporary directory until the backing storage - potentially RAM via tmpfs - is exhausted, causing the LeafWiki process and potentially the host to become unable to write any new data and denying service to all users. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
Uncontrolled ZIP extraction in LeafWiki 0.10.0 through 0.12.0 allows any authenticated Editor or Admin to exhaust server disk or memory by uploading a crafted ZIP bomb via the import route. The vulnerable function ZipExtractor.ExtractToDir uses Go's io.Copy without a decompressed-size limit, so a maximally compressed archive well inside the 500 MiB upload cap can expand to hundreds of gigabytes on disk - or into RAM when the OS temporary directory is tmpfs-backed. No public exploit has been identified at time of analysis, though the attack is mechanically simple for any credentialed Editor.
RemediationAI
Upgrade to LeafWiki v0.12.1, which the release notes explicitly confirm adds 'size caps on zip extraction during import/restore.' The patched release is available at https://github.com/perber/leafwiki/releases/tag/v0.12.1. If an immediate upgrade is not possible, restrict the Editor role exclusively to fully trusted users, since that role is the sole credential required to trigger the vulnerability - note this may be operationally disruptive in collaborative wiki deployments. As an additional compensating control, mount or configure the LeafWiki temporary directory on a separate, size-limited filesystem volume (e.g., a dedicated partition rather than the default OS tmpfs), which contains the blast radius of extraction to that volume and prevents RAM or shared-disk exhaustion; be aware this requires system-level configuration and does not eliminate the vulnerability.
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
The flaw is a textbook CWE-409 (Improper Handling of Highly Compressed Data) instance in LeafWiki's Go-based import subsystem. The function ZipExtractor.ExtractToDir in internal/importer/zip_extractor.go iterates over ZIP entries and pipes each one to the destination using io.Copy, which streams until EOF with no byte-count ceiling on the decompressed output. Only the compressed upload payload is bounded (500 MiB). Standard deflate compression routinely achieves 100:1 to 1000:1 ratios on repetitive data, so an archive near the upload cap can produce hundreds of gigabytes of decompressed output. The extraction target defaults to a subdirectory of the OS temporary directory, which on many Linux deployments is a tmpfs mount - meaning written bytes consume physical RAM rather than persistent disk, sharply amplifying service disruption. The affected CPE is cpe:2.3:a:perber:leafwiki:*:*:*:*:*:*:*:* with VulnCheck confirming versions 0.10.0 through 0.12.0. The GitHub security advisory is GHSA-258m-crqp-25xc.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Editor role required (PR:L); no confidentiality or integrity impact; availability is high due to unbounded storage exhaustion.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
LeafWiki extracts an uploaded ZIP archive without limiting how much data it will write. ZipExtractor.ExtractToDir in internal/importer/zip_extractor.go opens each entry and copies it to the destination with io.Copy, which runs to the end of the decompressed stream, so only the size of the uploaded archive is bounded and the size it expands to is not. The import route that reaches this code requires the Editor or Admin role, and the upload itself is capped at 500 MiB compressed. Because a ZIP entry can compress at a very high ratio, an archive well inside that cap can expand to hundreds of gigabytes as it is written out. The extraction directory defaults to a location under the operating system temporary directory, so the written data consumes the disk backing that path, which on a tmpfs-backed temporary directory is memory. A user holding the Editor role can therefore exhaust the storage the service depends on and keep it from serving, using far more resource than the upload limit alone would permit.
Executive ViewAI
LeafWiki versions 0.10.0 through 0.12.0 contain a denial-of-service vulnerability that allows authenticated editors and administrators to exhaust server disk or memory resources by uploading compressed files, causing service unavailability. Organizations running affected versions face potential operational disruption and must restrict user roles or disable the import feature immediately.
Disable ZIP import functionality; restrict Editor role membership to essential trusted users; implement filesystem quotas and consumption monitoring; configure temporary directory on a separate volume with size limits; reduce maximum upload file size to 100 MiB to constrain compression ratios; enable detailed logging and alerting on all import operations.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Path traversal in LeafWiki's asset rename endpoint allows authenticated editors to relocate any file readable by the ser
Privilege escalation in LeafWiki versions 0.1.0 through 0.10.0 allows any authenticated user to elevate their own accoun
Stored cross-site scripting in LeafWiki's search API allows an authenticated editor or administrator to plant a JavaScri
EUVD-2026-66212
GHSA-vx6x-47wx-xjjj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB