Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
perber leafwiki
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LeafWiki 在解压用户上传的 ZIP 归档文件时,未对其写入的数据量施加限制。 中的 函数会逐一打开 ZIP 归档中的每个条目,并通过 将其复制到目标目录。由于 会一直读取直至解压流结束,因此系统仅对上传归档的原始大小进行了限制,而未对其解压后的膨胀大小进行限制。 该导入路由要求用户具备 Editor(编辑者)或 Admin(管理员)角色,且上传的压缩包本身被限制在 500 MiB 以内。然而,由于 ZIP 条目可能具有极高的压缩率,一个在压缩大小上远低于上限的归档文件,在解压写入时可能会膨胀至数百 GiB。

CVSS 6.5 · Medium EPSS 0.41% · P34

Affected Version Matrix 1

VendorProduct Version RangeStatus
perber leafwiki 0.10.0< 0.12.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-80189

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LeafWiki 0.10.0 through 0.12.0 Uncontrolled Resource Consumption via Unbounded ZIP Extraction
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对高度压缩数据的处理不恰当(数据放大攻击)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
perber leafwiki 0.10.0 ~ 0.12.1 -

II. Public POCs for CVE-2026-80189

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-80189

登录查看更多情报信息。

Patches & Fixes for CVE-2026-80189 (1)

Vendor Advisories for CVE-2026-80189 (2)

Vendor Pages for CVE-2026-80189 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-80189

No comments yet


Leave a comment