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

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-08-25T23:18:58.993Z
- Modified: 2026-09-24T20:43:32.537Z
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- perber leafwiki: from 0.10.0 before 0.12.1

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/perber/leafwiki> (product)
- <https://github.com/perber/leafwiki/security/advisories/GHSA-258m-crqp-25xc> (vendor-advisory)
- <https://github.com/perber/leafwiki/blob/v0.12.0/internal/importer/zip_extractor.go> (technical-description)
- <https://github.com/perber/leafwiki/releases/tag/v0.12.1> (release-notes)
- <https://www.vulncheck.com/advisories/leafwiki-0.10.0-through-0.12.0-uncontrolled-resource-consumption-via-unbounded-zip-extraction> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-80189](https://www.cve.org/CVERecord?id=CVE-2026-80189), CVE Terms of Use, modified 2026-08-29
- NVD: [CVE-2026-80189](https://nvd.nist.gov/vuln/detail/CVE-2026-80189), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-80189 · Whole record: https://cve.day/CVE-2026-80189.json · Rebuilt by cve.day 2026-11-25T22:59:35.329Z
