# SiYuan: Path Traversal via Double URL Encoding in \`/export/\` Endpoint (Incomplete Fix Bypass for CVE-2026-30869)

Advisory record · `GHSA-hjh7-r5w8-5872`

- **Identifiers:** `GHSA-hjh7-r5w8-5872` · `CVE-2026-41894` · `GO-2026-5429`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 22 Apr 2026
- **Updated:** 25 Jun 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 22 Apr 2026, 20:51 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/siyuan-note/siyuan/kernel` (Go): affected `<3.6.5`; fixed in `3.6.5`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Affected: SiYuan (Go module github.com/siyuan-note/siyuan/kernel) before 3.6.5. An authenticated user, including a low-privilege Publish or Reader user, can send a double URL-encoded path to the /export/ endpoint to read arbitrary workspace files, such as the SQLite document database and kernel log. The fix is to upgrade to version 3.6.5. The source gives no workaround.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.1 High, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0037, the 31st percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 22 Apr 2026, 20:51 UTC: [Confirmed by GitHub Advisory Database](https://github.com/advisories/GHSA-hjh7-r5w8-5872)
- 31 Oct 2026, 15:06 UTC: First seen by agentprime
- 31 Oct 2026, 15:06 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hjh7-r5w8-5872)

## Sources

- [GitHub Advisory Database: GHSA-hjh7-r5w8-5872](https://github.com/advisories/GHSA-hjh7-r5w8-5872)
- [OSV: GHSA-hjh7-r5w8-5872](https://osv.dev/vulnerability/GHSA-hjh7-r5w8-5872)
- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hjh7-r5w8-5872>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41894>
- <https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7>
- <https://github.com/advisories/GHSA-2h2p-mvfx-868w>
- <https://github.com/siyuan-note/siyuan>
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.6.5>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hjh7-r5w8-5872>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hjh7-r5w8-5872/>. Everything for agents: <https://agentprime.io/llms.txt>.
