The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32747

CVE-2026-32747: SiYuan Information Disclosure Vulnerability

CVE-2026-32747 is an information disclosure flaw in SiYuan personal knowledge management system that allows admins to exfiltrate sensitive files. This article covers the technical details, affected versions, and mitigation.

Published: March 19, 2026

CVE-2026-32747 Overview

CVE-2026-32747 is a Path Traversal vulnerability affecting SiYuan, a personal knowledge management system. The vulnerability exists in the globalCopyFiles API which reads source files using filepath.Abs() without proper workspace boundary validation. The security controls rely solely on util.IsSensitivePath(), which contains an incomplete blocklist that omits critical paths including /proc/, /run/secrets/, and home directory dotfiles.

Critical Impact

An authenticated admin user can exfiltrate sensitive files readable by the SiYuan process, including Docker secrets and environment variables in containerized deployments. Exfiltrated files persist in the workspace until manually deleted.

Affected Products

  • SiYuan versions 3.6.0 and below
  • SiYuan containerized deployments with injected secrets
  • Self-hosted SiYuan instances with admin access

Discovery Timeline

  • 2026-03-19 - CVE CVE-2026-32747 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-32747

Vulnerability Analysis

This Path Traversal vulnerability (CWE-22) enables authenticated administrators to bypass file access restrictions and read arbitrary files from the host system. The core issue lies in the insufficient path validation within the globalCopyFiles API endpoint. While the application attempts to protect sensitive system files through a blocklist approach in util.IsSensitivePath(), the implementation contains critical gaps that allow access to sensitive system resources.

The vulnerability is particularly impactful in containerized environments where secrets are commonly passed via environment variables or mounted files in /run/secrets/. An attacker with admin privileges can copy files like /proc/1/environ (which contains all environment variables of the main process) into the workspace, then access them through the standard file API.

Root Cause

The root cause is an incomplete blocklist implementation in the IsSensitivePath() function located in kernel/util/path.go. The original implementation failed to block access to several critical Unix system paths:

  • /proc/ - Contains process information including environment variables
  • /run/secrets/ - Docker secrets mount point
  • /sys/ - Linux system filesystem
  • Home directory dotfiles containing configuration and credentials

The blocklist approach is fundamentally flawed as it requires anticipating all sensitive paths rather than allowing only known-safe workspace paths.

Attack Vector

The attack requires network access and administrative privileges on the SiYuan instance. An attacker with admin credentials can:

  1. Call the globalCopyFiles API with a path to a sensitive file (e.g., /proc/1/environ)
  2. The file is copied into the workspace without proper validation
  3. Access the copied file through the standard workspace file API
  4. Extract credentials, API keys, and other sensitive data

The following patch demonstrates the security fix implemented in version 3.6.1:

go
 	if p == "" {
 		return false
 	}
-	pp := filepath.Clean(strings.ToLower(p))
+	toCheckPathLower := filepath.Clean(strings.ToLower(p))
+	toCheckNameLower := filepath.Base(toCheckPathLower)

 	// 敏感目录前缀(UNIX 风格)
 	prefixes := []string{
-		"/etc/ssh",
+		"/.",
+		"/etc",
 		"/root",
 		"/etc",
-		"/var/lib/",
-		"/.",
+		"/var",
+		"/proc",
+		"/sys",
+		"/run",
+		"/bin",
+		"/boot",
+		"/dev",
+		"/lib",
+		"/srv",
+		"/tmp",
 	}
 	for _, pre := range prefixes {
-		if strings.HasPrefix(pp, pre) {
+		if strings.HasPrefix(toCheckPathLower, pre) {

Source: GitHub Commit Update

Detection Methods for CVE-2026-32747

Indicators of Compromise

  • Unexpected files appearing in SiYuan workspace directories
  • API calls to globalCopyFiles with paths containing /proc/, /run/secrets/, or /etc/
  • Workspace files containing environment variable data or credential-like content
  • Admin account activity involving file copy operations outside normal workspace boundaries

Detection Strategies

  • Monitor SiYuan API logs for globalCopyFiles requests targeting system paths
  • Implement file integrity monitoring on workspace directories to detect unauthorized file additions
  • Review admin access logs for unusual file operation patterns
  • Deploy application-level logging to capture path parameters in file copy operations

Monitoring Recommendations

  • Enable verbose logging for the SiYuan API layer
  • Implement alerting on file operations targeting /proc/, /sys/, /run/, and other system directories
  • Monitor container runtime for unexpected file access patterns by the SiYuan process
  • Regularly audit workspace contents for files that should not be present

How to Mitigate CVE-2026-32747

Immediate Actions Required

  • Upgrade SiYuan to version 3.6.1 or later immediately
  • Audit existing workspace files for any exfiltrated sensitive data
  • Rotate any credentials that may have been exposed through environment variables or mounted secrets
  • Review admin account activity logs for suspicious file copy operations

Patch Information

SiYuan has released version 3.6.1 which addresses this vulnerability by expanding the sensitive path blocklist to include /proc, /sys, /run, /bin, /boot, /dev, /lib, /srv, and /tmp directories. The patch is available through the GitHub Release v3.6.1. Additional technical details can be found in the GitHub Security Advisory GHSA-h5vh-m7fg-w5h6.

Workarounds

  • Restrict network access to the SiYuan instance to trusted networks only
  • Limit admin account access to essential personnel
  • Run SiYuan in a container with minimal mounted secrets and environment variables
  • Implement network segmentation to limit the impact of potential credential exfiltration
bash
# Configuration example - Run SiYuan with restricted filesystem access
# Use read-only mounts and avoid passing sensitive env vars
docker run -d \
  --read-only \
  --tmpfs /tmp \
  --security-opt no-new-privileges \
  -v /path/to/workspace:/workspace \
  siyuan/siyuan:3.6.1

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSiyuan

  • SeverityMEDIUM

  • CVSS Score6.8

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Update

  • GitHub Release v3.6.1

  • GitHub Security Advisory GHSA-h5vh-m7fg-w5h6
  • Related CVEs
  • CVE-2026-40107: SiYuan Information Disclosure Vulnerability

  • CVE-2026-33669: SiYuan Information Disclosure Vulnerability

  • CVE-2026-39846: SiYuan Electron Desktop Client RCE Flaw

  • CVE-2026-34453: SiYuan Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English