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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-30869

CVE-2026-30869: SiYuan Path Traversal Vulnerability

CVE-2026-30869 is a path traversal flaw in SiYuan's /export endpoint that allows attackers to read arbitrary files and access sensitive credentials. This article covers technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-30869 Overview

A critical path traversal vulnerability exists in SiYuan, a personal knowledge management system, prior to version 3.5.10. The vulnerability resides in the /export endpoint and allows unauthenticated attackers to read arbitrary files from the server filesystem. By exploiting double-encoded traversal sequences, attackers can bypass input validation and access sensitive configuration files, including conf/conf.json, which contains critical secrets such as the API token, cookie signing key, and workspace access authentication code.

Critical Impact

Successful exploitation enables unauthorized access to sensitive configuration files containing API tokens and authentication secrets. This could lead to full administrative access to the SiYuan kernel API and potentially be chained into remote code execution (RCE) in certain deployment scenarios.

Affected Products

  • SiYuan personal knowledge management system versions prior to 3.5.10
  • Self-hosted SiYuan deployments with exposed /export endpoints
  • SiYuan instances accessible over the network

Discovery Timeline

  • 2026-03-10 - CVE-2026-30869 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-30869

Vulnerability Analysis

This path traversal vulnerability (CWE-22) affects the /export endpoint in SiYuan's web interface. The core issue stems from inadequate input validation when processing file path parameters in export requests. Attackers can craft malicious requests using double-encoded directory traversal sequences (such as %252e%252e%252f which decodes to ../) to escape the intended directory context and access files anywhere on the server filesystem.

The vulnerability is particularly severe because the exposed conf/conf.json file contains multiple high-value secrets. The API token provides direct access to the SiYuan kernel API with administrative privileges. The cookie signing key could be used to forge session cookies, and the workspace access authentication code could grant unauthorized access to protected workspaces. In environments where SiYuan has elevated privileges or where additional exploitation primitives exist, this information disclosure vulnerability could serve as the initial foothold for a complete system compromise.

Root Cause

The root cause is improper input sanitization in the /export endpoint's file path handling logic. The application fails to properly decode and validate user-supplied path components before constructing file system paths. Specifically, the endpoint appears to perform only single-pass URL decoding, allowing double-encoded traversal sequences to bypass security checks. After the first decode pass, the malicious %252e%252e%252f becomes %2e%2e%2f, which then gets decoded again during file access operations to become ../, enabling directory traversal.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker sends a specially crafted HTTP request to the /export endpoint with double-encoded path traversal sequences in the file path parameter. The server processes the request without proper validation, resulting in the disclosure of arbitrary files that the web server process has permission to read.

The attack flow consists of:

  1. Attacker identifies a SiYuan instance with an exposed /export endpoint
  2. Attacker crafts a request with double-encoded traversal sequences targeting sensitive files
  3. Server decodes the input and constructs a file path that escapes the intended directory
  4. Server returns the contents of the requested file, such as conf/conf.json
  5. Attacker extracts API tokens and authentication secrets from the response
  6. Attacker uses stolen credentials to access the SiYuan kernel API with administrative privileges

For detailed technical information about this vulnerability, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-30869

Indicators of Compromise

  • HTTP requests to /export endpoints containing encoded traversal sequences such as %252e, %252f, or ..
  • Unusual access patterns to the /export endpoint from external IP addresses
  • Web server logs showing requests attempting to access conf/conf.json or other sensitive system files
  • Authentication events using API tokens from unexpected source addresses

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect and block double-encoded path traversal patterns
  • Implement anomaly detection for the /export endpoint focusing on unusual request patterns and file path parameters
  • Monitor for failed and successful authentication attempts to the SiYuan kernel API from new or suspicious sources
  • Use intrusion detection systems (IDS) with signatures for path traversal attack patterns

Monitoring Recommendations

  • Enable detailed access logging for all requests to the /export endpoint
  • Configure alerting for any requests containing URL-encoded directory traversal sequences
  • Monitor file access patterns on the server to detect reads of configuration files from web application contexts
  • Implement real-time log analysis to correlate path traversal attempts with subsequent API authentication events

How to Mitigate CVE-2026-30869

Immediate Actions Required

  • Upgrade SiYuan to version 3.5.10 or later immediately
  • Rotate all API tokens, cookie signing keys, and workspace access authentication codes if exploitation is suspected
  • Restrict network access to SiYuan instances using firewall rules or network segmentation
  • Review web server logs for evidence of exploitation attempts

Patch Information

The vulnerability has been fixed in SiYuan version 3.5.10. The patch addresses the input validation issue in the /export endpoint by implementing proper multi-pass URL decoding validation and path canonicalization before file access operations. Users should upgrade to version 3.5.10 or later to remediate this vulnerability. For more details, see the GitHub Security Advisory.

Workarounds

  • Restrict access to the /export endpoint at the reverse proxy or network level if upgrading is not immediately possible
  • Place SiYuan behind a WAF configured to block requests containing encoded directory traversal sequences
  • Disable external network access to SiYuan and restrict usage to trusted internal networks only
  • Implement IP allowlisting to limit access to known trusted addresses
bash
# Example nginx configuration to restrict /export endpoint access
location /export {
    # Allow only trusted internal networks
    allow 10.0.0.0/8;
    allow 192.168.0.0/16;
    deny all;
    
    # Additional protection: block common traversal patterns
    if ($request_uri ~* "(\%252e|\%2e|\.\.)" ) {
        return 403;
    }
    
    proxy_pass http://siyuan_backend;
}

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechSiyuan

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.43%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-33670: SiYuan Path Traversal Vulnerability

  • CVE-2026-25992: SiYuan Path Traversal Vulnerability

  • CVE-2026-23851: SiYuan Path Traversal 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