GHSA-rp7c-4prv-9rrg

Suggest an improvement
Source
https://github.com/advisories/GHSA-rp7c-4prv-9rrg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-rp7c-4prv-9rrg/GHSA-rp7c-4prv-9rrg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rp7c-4prv-9rrg
Withdrawn
2026-10-27T14:43:48Z
Published
2026-08-22T15:31:02Z
Modified
2026-10-27T15:00:04Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: SiYuan: MCP file tool's blocklist is incomplete relative to the HTTP file API it claims to align with, exposing publish-mode passwords and other sensitive workspace filesDuplicate Advisory:
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-c8r8-95hg-mp34. This link is maintained to preserve external references.

Original Description

SiYuan versions before v3.8.0 contain an incomplete path blocklist in the MCP file tool that fails to restrict access to sensitive workspace files protected by the HTTP API. Authenticated administrators can read plaintext publish-mode passwords from data/.siyuan/publishAccess.json and access other sensitive files like data/templates and data/snippets/conf.json.

Database specific
{
    "cwe_ids":  [
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-27T14:43:48Z",
    "nvd_published_at":  "2026-08-22T13:16:39Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / github.com/siyuan-note/siyuan

Package

Name
github.com/siyuan-note/siyuan
View open source insights on deps.dev
Purl
pkg:golang/github.com/siyuan-note/siyuan

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Database specific

last_known_affected_version_range
"< 3.8.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-rp7c-4prv-9rrg/GHSA-rp7c-4prv-9rrg.json"