Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-32938

CVE-2026-32938: B3log Siyuan Path Traversal Vulnerability

CVE-2026-32938 is a path traversal vulnerability in B3log Siyuan that allows attackers to exfiltrate sensitive files through unvalidated file paths. This article covers the technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-32938 Overview

CVE-2026-32938 is a Path Traversal vulnerability affecting SiYuan, a personal knowledge management system developed by B3log. The vulnerability exists in the /api/lute/html2BlockDOM endpoint on the desktop application, which copies local files pointed to by file:// links in pasted HTML into the workspace assets directory without validating paths against a sensitive-path list. When combined with the GET /assets/*path endpoint (which only requires authentication), an attacker with publish-service access can cause the desktop kernel to copy any readable sensitive file and subsequently exfiltrate it.

Critical Impact

Authenticated attackers can exfiltrate sensitive files from the host system by exploiting improper path validation in the HTML processing endpoint, potentially exposing credentials, configuration files, and other confidential data.

Affected Products

  • B3log SiYuan versions 3.6.0 and below

Discovery Timeline

  • 2026-03-20 - CVE-2026-32938 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-32938

Vulnerability Analysis

This vulnerability stems from insufficient input validation in SiYuan's HTML-to-BlockDOM conversion functionality. The /api/lute/html2BlockDOM endpoint processes HTML content that may contain file:// protocol links. When a user pastes HTML content containing these links, the application automatically copies the referenced local files into the workspace assets directory without checking whether the file path points to sensitive system locations.

The attack chain involves two components working together. First, the attacker crafts malicious HTML containing file:// links pointing to sensitive files on the target system (such as /etc/passwd, SSH keys, or application configuration files). When this HTML is processed by the vulnerable endpoint, the referenced files are copied to the assets directory. Second, the attacker can then retrieve these copied files via the GET /assets/*path endpoint, which requires only basic authentication that publish-service visitors possess.

Root Cause

The root cause is a CWE-22 (Path Traversal) vulnerability resulting from missing path validation against a sensitive-path allowlist or denylist. The application fails to sanitize or validate file paths specified in file:// URLs before performing file copy operations, allowing arbitrary readable files on the system to be accessed and exfiltrated.

Attack Vector

The attack is network-based and requires low-privilege authentication (publish-service visitor access). The attacker must be able to interact with the SiYuan desktop kernel's API endpoints. The exploitation flow involves:

  1. An authenticated attacker with publish-service access crafts HTML content containing file:// links to sensitive local files
  2. The malicious HTML is submitted to the /api/lute/html2BlockDOM endpoint
  3. The vulnerable endpoint copies the referenced files to the workspace assets directory without path validation
  4. The attacker retrieves the exfiltrated files via GET /assets/*path requests

The vulnerability does not require user interaction once the attacker has authenticated access, and the confidentiality impact is high as any readable file on the system can potentially be exfiltrated.

Detection Methods for CVE-2026-32938

Indicators of Compromise

  • Unusual API requests to /api/lute/html2BlockDOM containing file:// protocol references
  • Unexpected files appearing in the SiYuan workspace assets directory
  • HTTP requests to /assets/*path for files that should not exist in the assets directory
  • Log entries showing access to system paths like /etc/, ~/.ssh/, or application configuration directories

Detection Strategies

  • Monitor API access logs for /api/lute/html2BlockDOM requests containing suspicious file:// URLs
  • Implement file integrity monitoring on the SiYuan assets directory to detect unexpected file additions
  • Review authentication logs for unusual publish-service visitor activity patterns
  • Deploy network monitoring to detect exfiltration attempts via the assets endpoint

Monitoring Recommendations

  • Enable verbose logging for SiYuan API endpoints to capture request payloads
  • Configure alerts for file system operations involving sensitive directories
  • Monitor for anomalous data transfer patterns from the SiYuan application
  • Implement regular audits of files stored in the workspace assets directory

How to Mitigate CVE-2026-32938

Immediate Actions Required

  • Upgrade SiYuan to version 3.6.1 or later immediately
  • Review access logs for any signs of exploitation prior to patching
  • Audit the workspace assets directory for any sensitive files that may have been copied
  • Restrict publish-service access to trusted users only until patching is complete

Patch Information

B3log has released version 3.6.1 which addresses this vulnerability. The fix implements proper path validation to prevent file:// links from accessing sensitive file paths. The security patch is available via the GitHub Release v3.6.1. Additional details can be found in the GitHub Security Advisory GHSA-fq2j-j8hc-8vw8 and the commit that addresses this issue.

Workarounds

  • Disable or restrict access to the publish-service feature until the patch can be applied
  • Implement network-level access controls to limit who can reach the SiYuan API endpoints
  • Run SiYuan with reduced file system permissions to minimize the scope of potential file access
  • Deploy a reverse proxy with request filtering to block suspicious file:// URL patterns in API requests
bash
# Example: Restricting SiYuan to localhost access only
# Add to your firewall or reverse proxy configuration
# Block external access to sensitive API endpoints
iptables -A INPUT -p tcp --dport 6806 ! -s 127.0.0.1 -j DROP

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechB3log Siyuan

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.22%

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

  • GitHub Security Advisory GHSA-fq2j-j8hc-8vw8
  • Related CVEs
  • CVE-2026-33476: B3log Siyuan Path Traversal Vulnerability

  • CVE-2026-33194: B3log Siyuan Path Traversal Vulnerability

  • CVE-2026-40922: B3log Siyuan RCE Vulnerability

  • CVE-2026-33203: B3log Siyuan DOS 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