[CVE-2026-80189] LeafWiki extracts an uploaded ZIP archive without limiting h

CVE-2026-80189 | CVSS: 6.5 | 严重级别: MEDIUM

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 giga

参考链接:
https://github.com/perber/leafwiki
https://github.com/perber/leafwiki/blob/v0.12.0/internal/importer/zip_extractor.
https://github.com/perber/leafwiki/releases/tag/v0.12.1

📌 数据来源: NVD 官方

⚠️ 合规声明: 本文内容仅用于网络安全合规学习、科研与授权测试用途。严禁用于任何未授权行为,违者自行承担全部法律责任。
滚动至顶部