CVE-2026-82650
Received Received - Intake

SiYuan Path Traversal Vulnerability Exposes Sensitive Files

Vulnerability report for CVE-2026-82650, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-30

Last updated on: 2026-08-30

Assigner: VulnCheck

Description

SiYuan 3.8.0 contains a path traversal / sensitive file exposure vulnerability in the RenderTemplate function (kernel/model/template.go), reachable via the POST /api/template/render endpoint (kernel/api/template.go). The endpoint restricts the supplied path only to the workspace directory (util.IsAbsPathInWorkspace) but, unlike the file API's refuseToAccess() blocklist, applies no sensitive-path exclusion. This allows an authenticated attacker to read sensitive workspace files, including conf/conf.json, which contains the API token and cookie signing key. The issue is fixed in v3.8.1.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-30
Last Modified
2026-08-30
Generated
2026-08-30
AI Q&A
2026-08-30
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
si_yuan si_yuan to 3.8.1 (inc)
siyuan siyuan to 3.8.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-668 The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

SiYuan 3.8.0 has a path traversal vulnerability in the RenderTemplate function that allows authenticated attackers to read sensitive files within the workspace. The /api/template/render endpoint restricts paths to the workspace directory but lacks a blocklist for sensitive files like conf/conf.json, which contains API tokens and cookie signing keys. This flaw is fixed in version 3.8.1.

Detection Guidance

Check SiYuan logs for unusual requests to /api/template/render with suspicious paths. Inspect network traffic for POST requests targeting this endpoint with file paths outside the templates directory. Verify if conf/conf.json or other sensitive files were accessed.

Impact Analysis

An authenticated attacker could exploit this to read sensitive files, including configuration files with API tokens and cookie signing keys. This could lead to unauthorized access to user data, account takeover, or further compromise of the SiYuan instance if those secrets are used elsewhere.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Exposure of API tokens and signing keys may also indicate inadequate security controls, potentially resulting in compliance violations and penalties.

Mitigation Strategies

Upgrade SiYuan to version 3.8.1 or later immediately. Review workspace file access logs for signs of exploitation. Restrict API access to trusted users and monitor for unauthorized file reads.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-82650. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart