SiYuan before 3.9.0-alpha.14 contains a denial of service vulnerability that allows attackers to exhaust disk space by supplying a zip bomb extracted through /api/archive/unzip or the MCP unzip tool. Attackers can place a small, highly compressed ZIP in the victim's workspace that, when extracted by the victim or an AI agent, writes gigabytes of data and makes the workspace unavailable.
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8q96-3944-pwp2
https://github.com/siyuan-note/siyuan/releases/tag/v3.9.0-alpha.14
https://github.com/siyuan-note/siyuan/commit/299c7672eceeb1926e639c89715085912ae9900c
https://github.com/siyuan-note/siyuan/blob/v3.9.0-alpha.13/kernel/util/zip_entry.go#L16-L41