๐Ÿ” CVE Alert

CVE-2026-80189

MEDIUM 6.5

LeafWiki 0.10.0 through 0.12.0 Uncontrolled Resource Consumption via Unbounded ZIP Extraction

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-409
Vendor perber
Product leafwiki
Published Aug 25, 2026
Stay Ahead of the Next One

Get instant alerts for perber leafwiki

Be the first to know when new medium vulnerabilities affecting perber leafwiki are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

perber / leafwiki
0.10.0 < 0.12.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/perber/leafwiki github.com: https://github.com/perber/leafwiki/security/advisories/GHSA-258m-crqp-25xc github.com: https://github.com/perber/leafwiki/blob/v0.12.0/internal/importer/zip_extractor.go github.com: https://github.com/perber/leafwiki/releases/tag/v0.12.1 vulncheck.com: https://www.vulncheck.com/advisories/leafwiki-0.10.0-through-0.12.0-uncontrolled-resource-consumption-via-unbounded-zip-extraction

Credits

Dilipkumar Choudhary