CVE-2026-82651
Received Received - Intake

SiYuan Path Traversal in Admin Snapshots

Vulnerability report for CVE-2026-82651, 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 before v3.8.1 does not apply the IsForbiddenAbsPath guard (introduced in GHSA-c8r8-95hg-mp34) to the /history/*path and /repo/diff/*path endpoints in kernel/server/serve.go. These routes require admin authentication but construct file paths independently, so an authenticated administrator can retrieve historical snapshots of sensitive files that the guard is meant to block, including data/.siyuan/publishAccess.json (plaintext publish-mode passwords) and files under data/templates/.

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 1 associated CPE
Vendor Product Version / Range
siyuan siyuan to 3.8.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-200 The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

SiYuan before v3.8.1 has a vulnerability where the /history/*path and /repo/diff/*path endpoints do not enforce a file access restriction called IsForbiddenAbsPath. This allows authenticated administrators to retrieve historical snapshots of sensitive files, including plaintext passwords and template files, which should be blocked.

Detection Guidance

Check SiYuan logs for unauthorized access attempts to /history/*path or /repo/diff/*path endpoints. Inspect historical snapshots for sensitive files like data/.siyuan/publishAccess.json or files in data/templates/. Use network monitoring tools to detect admin API requests to these endpoints.

Impact Analysis

An authenticated admin could access sensitive data like publish passwords stored in data/.siyuan/publishAccess.json or files in data/templates/. This could lead to unauthorized exposure of confidential information if historical snapshots contain sensitive files.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data such as plaintext passwords and template files, which may violate compliance requirements under GDPR (for personal data exposure) and HIPAA (for protected health information exposure) if such data is stored in the affected SiYuan application.

Mitigation Strategies

Upgrade SiYuan to version 3.8.1 or later. Apply the IsForbiddenAbsPath guard to /history/*path and /repo/diff/*path endpoints. Review historical snapshots for exposed sensitive files and restrict access to them. Ensure admin credentials are not compromised.

Chat Assistant

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

EPSS Chart