Skip to main content

LeafWiki CVE-2026-80189

| EUVDEUVD-2026-66212 HIGH
Improper Handling of Highly Compressed Data (Data Amplification) (CWE-409)
2026-08-25 VulnCheck GHSA-vx6x-47wx-xjjj
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain Editor-role credentials
  2. Delivery
    Craft high-ratio ZIP bomb under 500 MiB compressed
  3. Exploit
    Upload archive to LeafWiki import endpoint
  4. Execution
    io.Copy streams unbounded decompressed data to OS temp directory
  5. Persist
    Backing storage (disk or tmpfs RAM) exhausted
  6. Impact
    Service 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.

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

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

Alert me

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

leafwiki 0.10.0 <0.12.1

Affected Packages

euvd leafwiki fix: 0.12.1

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

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

Editor role required (PR:L); no confidentiality or integrity impact; availability is high due to unbounded storage exhaustion.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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

2
Patch available
Aug 26, 2026 - 20:03 EUVD
CVE Published
Aug 25, 2026 - 23:18 cve.org
HIGH 7.1

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Rare
niche open-source personal wiki, limited enterprise adoption
Data Quality
6 sources
Confidence: High

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.4%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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