CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-73607

CVE-2026-73607: Missing Authorization in SiYuan /api/storage/getOutlineStorage Leads to Information Disclosure

Amit Schendel
Amit Schendel
Senior Security Researcher

Oct 1, 2026·7 min read·19 visits

Executive Summary (TL;DR)

A Broken Object Level Authorization (BOLA) vulnerability in SiYuan prior to v3.7.4 allows authenticated users to extract document outlines and structural metadata of unauthorized notes via the `/api/storage/getOutlineStorage` API endpoint.

An architectural evaluation of CVE-2026-73607 in the SiYuan personal knowledge management system. This technical advisory details a Missing Authorization (CWE-862) vulnerability in the Go-based backend kernel, specifically within the outline storage API endpoint. Under certain configurations, authenticated low-privilege users can query metadata, heading structures, and block hierarchies of restricted documents.

Vulnerability Overview

SiYuan is a local-first, privacy-focused knowledge management platform written primarily in Go. When deployed in server mode, the platform utilizes a Go-based kernel to handle the local database, file storage, and HTTP API endpoints. This architecture exposes a variety of API endpoints to clients and web-based interfaces to manage notebooks, assets, and document hierarchies.

One specific API endpoint registered by the kernel is /api/storage/getOutlineStorage. This endpoint is designed to manage the outline metadata and folding state of individual notes. By tracking which headings are folded or expanded, the platform maintains a consistent UI state across different sessions and client devices.

While the application utilizes session-based authentication middleware to restrict endpoint access to registered users, it failed to implement granular authorization checks on the underlying document objects. This configuration creates an attack surface where basic authentication acts as a blanket permit, allowing any authenticated identity to query resource states regardless of their explicit permission tier.

This flaw is classified as a Broken Object Level Authorization (BOLA) vulnerability, tracked under CWE-862 (Missing Authorization). It has a CVSS v3.1 score of 5.8, indicating a moderate confidentiality risk that particularly impacts multi-user collaborative environments or instances exposed to public networks with guest registration enabled.

Root Cause Analysis

The vulnerability resides in the logical separation between authentication and authorization boundaries within the SiYuan Go kernel. When an HTTP request is made to /api/storage/getOutlineStorage, the routing middleware successfully intercepts the request to validate session cookies or bearer tokens. If the token is valid, control is handed over to the endpoint's controller function.

The controller function parses the incoming JSON request payload to extract the id field, which represents the targeted document's unique identifier. The backend then proceeds to query the storage layer or database to locate the corresponding outline structure. However, the system fails to check if the authenticated user has read permissions for the specific notebook or parent workspace hosting that document ID.

In a secure implementation, the controller must perform an explicit lookup against the access control list (ACL) or database permissions before retrieving the data. Because this lookup step was missing, the kernel directly retrieves the outline document from the storage path and serializes it to the HTTP response writer. This direct path allows the request to bypass the document-level read restrictions completely.

Code Analysis

To illustrate the technical mechanism of the vulnerability, we can analyze the conceptual Go handler architecture. In the vulnerable version, the router registers the route with basic authentication middleware but neglects path authorization checks:

// Vulnerable route registration and handler example
router.POST("/api/storage/getOutlineStorage", middleware.CheckAuth, func(c *gin.Context) {
    var req struct {
        ID string `json:"id"`
    }
    if err := c.ShouldBindJSON(&req); err != nil {
        c.JSON(400, gin.H{"error": "invalid request"})
        return
    }
 
    // VULNERABILITY: Directly retrieving the outline without checking if the authenticated
    // user has access permissions to the document ID 'req.ID'
    outline, err := storage.GetOutline(req.ID)
    if err != nil {
        c.JSON(404, gin.H{"error": "outline not found"})
        return
    }
 
    c.JSON(200, outline)
})

The patch introduced in version 3.7.4 rectifies this by inserting an explicit permission validation block immediately after binding the request data. This check validates the user's role against the target document ownership or sharing permissions:

// Patched route registration and handler example
router.POST("/api/storage/getOutlineStorage", middleware.CheckAuth, func(c *gin.Context) {
    var req struct {
        ID string `json:"id"`
    }
    if err := c.ShouldBindJSON(&req); err != nil {
        c.JSON(400, gin.H{"error": "invalid request"})
        return
    }
 
    // Get user context from session
    user, _ := c.Get("user")
 
    // FIX: Verify if the authenticated user has explicit read access to the document
    hasAccess := auth.CheckDocAccess(user.ID, req.ID, auth.PermissionRead)
    if !hasAccess {
        c.JSON(403, gin.H{"error": "forbidden"})
        return
    }
 
    outline, err := storage.GetOutline(req.ID)
    if err != nil {
        c.JSON(404, gin.H{"error": "outline not found"})
        return
    }
 
    c.JSON(200, outline)
})

This modification ensures that the kernel performs access validation as a hard gate before querying the file system or database. However, developers must ensure that similar endpoints, such as other /api/storage/* or metadata queries, also implement uniform checks to avoid variant access bypasses.

Exploitation and Attack Vector Analysis

The exploitation of CVE-2026-73607 requires an attacker to possess valid credentials for the target SiYuan instance. This makes the threat model relevant to multi-user collaborative workspaces, corporate wikis, or instances allowing self-registration of guest accounts. The attack is highly structured and can be automated to scan for specific document configurations.

The flow of the exploitation technique can be visualized as follows:

To perform the extraction, the attacker constructs an HTTP POST request targeting /api/storage/getOutlineStorage and provides the document's UUID. Even if the attacker's account is explicitly restricted from accessing the notebook containing the document, the server responds with a 200 OK containing the structural outline nodes. This data exposes precise heading texts and block hierarchies, allowing attackers to reconstruct document structures and leak sensitive string variables containing credentials or project details.

Impact Assessment

The impact of this information disclosure is evaluated as moderate, primarily affecting confidentiality. While the endpoint does not return the complete paragraph text blocks of the target note, document outlines and headers in professional or personal environments frequently contain highly sensitive metadata. Headings often document passwords, database configurations, architectural flowcharts, or client information.

In addition to direct metadata leakage, obtaining the heading UUIDs provides the attacker with functional references to block identifiers. These block identifiers can potentially be leveraged in subsequent API queries to reconstruct more extensive document trees if other endpoints suffer from similar authorization validation deficiencies.

The CVSS v4.0 score of 6.9 and v3.1 score of 5.8 reflect that the vulnerability does not require complex attack conditions or user interaction. Its reliance on standard authenticated accounts limits the threat vector primarily to internal threat actors or compromised low-privilege sessions. The EPSS score is currently evaluated at 0.00325, indicating a low immediate probability of automated exploitation in the wild, though targeted attacks remain highly viable.

Remediation and Defensive Mitigations

The primary remediation path is upgrading the SiYuan application kernel to version 3.7.4 or later. For broader stability and complete patch inclusion, administrators are strongly recommended to deploy version 3.8.0 or subsequent releases. Upgrading guarantees that the backend router utilizes resource authorization filters before servicing outline storage requests.

In environments where immediate patching is not operationally feasible, administrators must implement network-level segmentation to mitigate potential exposure. Placing the SiYuan web interface behind a Virtual Private Network (VPN) or a reverse proxy with IP whitelisting limits the attack surface. Furthermore, self-registration should be disabled on multi-user instances to prevent unauthorized actors from establishing valid sessions.

Security teams can monitor application server logs for anomalous patterns of requests hitting the /api/storage/getOutlineStorage endpoint. A high volume of requests for distinct document IDs originating from a single session or IP address is a key indicator of automated document enumeration. Restricting API token generation to verified administrative accounts further reduces the likelihood of successful exploitation.

Technical Appendix

CVSS Score
5.8/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
EPSS Probability
0.33%
Top 77% most exploited

Affected Systems

SiYuan Personal Knowledge Management System

Affected Versions Detail

Product
Affected Versions
Fixed Version
SiYuan
siyuan-note
>= 0, < 3.7.43.7.4
AttributeDetail
CWE IDCWE-862 (Missing Authorization)
Attack VectorNetwork (AV:N)
CVSS v3.1 / v4.05.8 (Medium) / 6.9 (Medium)
EPSS Score0.00325 (Percentile: 23.20%)
ImpactInformation Disclosure (Confidentiality: Low)
Exploit StatusPoC Available / No Active Exploitation
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-862
Missing Authorization

The software does not perform an authorization check when an actor attempts to access a resource or perform an action.

Vulnerability Timeline

Release of Vulnerable Code
2026-08-01
Vulnerability Discovery
2026-08-05
Vulnerability Published
2026-08-13
NVD Insertion Date
2026-08-13
Last Modified / Updated
2026-08-26

References & Sources

  • [1]GitHub Security Advisory (GHSA-53fp-9jmv-227g)
  • [2]VulnCheck Advisory
  • [3]CVE Record
  • [4]Official Patch Release Tag (v3.8.0)

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•35 minutes ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
1 views•10 min read
•about 2 hours ago•CVE-2026-126304
8.7

CVE-2026-126304: Symlink Path Traversal in NLTK YCOECorpusReader

CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.

Amit Schendel
Amit Schendel
3 views•9 min read
•about 3 hours ago•CVE-2026-128077
6.5

CVE-2026-128077: Authorization Bypass via Request Path Desynchronization in Nuxt and @nuxt/nitro-server

CVE-2026-128077 (GHSA-r99w-jh2x-3mg9) is an authorization bypass and interpretation conflict vulnerability affecting Nuxt and its underlying @nuxt/nitro-server package in versions 4.6.0 through 4.6.3. When an incoming HTTP request path begins with a double forward slash (e.g., //x/admin), the WHATWG URL parser within the Nuxt server-side page renderer interprets the initial segment as a network host/authority and resolves the remaining path (/admin) against the application's page router. Because Nitro server middleware, route-scoped serverHandlers, and Nitro routeRules evaluate the unparsed request path (//x/admin), path-based access controls, redirects, and security header policies configured for /admin fail to match and are bypassed.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 4 hours ago•CVE-2026-128084
4.8

CVE-2026-128084: Integer Truncation and SQL Query Truncation in sqlite3-ruby

Prior to version 2.10.2, the sqlite3-ruby gem explicitly cast 64-bit Ruby string lengths (long) to 32-bit signed integers (int) when invoking the underlying SQLite C API. On 64-bit platforms, providing a string of 4 GiB (2^32 bytes) or larger causes integer truncation, instructing SQLite to process only a prefix of the string. This flaw affects SQL query preparation, bound parameter values, and return values from custom Ruby-defined SQL functions and aggregates, allowing trailing SQL clauses such as WHERE restrictions to be silently dropped under specific conditions.

Alon Barad
Alon Barad
5 views•11 min read
•about 5 hours ago•CVE-2026-128068
5.3

CVE-2026-128068: Regular Expression Denial of Service in rails-html-sanitizer

CVE-2026-128068 (GHSA-cpgf-5mjf-73p7) is a Regular Expression Denial of Service (ReDoS) vulnerability in the rails-html-sanitizer Ruby gem affecting versions 1.0.3 through 1.7.1. The flaw resides in the Rails::HTML::PermitScrubber#scrub_attribute method, which uses the multiline regular expression /^\s*[^#\s].*/m to enforce local-only URI fragment references on SVG elements. On Ruby runtimes prior to version 3.2 (CRuby <= 3.1 and JRuby), evaluating an attribute value composed of repeated newline and whitespace characters without a hash character triggers quadratic backtracking O(n^2). Applications are only vulnerable if their sanitization allowlist is explicitly configured to permit SVG reference elements such as <use> alongside href or xlink:href attributes.

Alon Barad
Alon Barad
6 views•9 min read
•about 6 hours ago•CVE-2026-126360
5.3

CVE-2026-126360: Regular Expression Denial of Service in OpenTelemetry Python opentelemetry-api

CVE-2026-126360 (GHSA-mf5v-w3w3-f6cg) is an algorithmic complexity vulnerability (Regular Expression Denial of Service) in the trace context propagation logic of the opentelemetry-api package within the OpenTelemetry Python ecosystem. In versions prior to 1.45.2, the TraceContextTextMapPropagator.extract() method utilizes a regular expression susceptible to quadratic-time backtracking when parsing malformed W3C traceparent headers containing long sequences of whitespace followed by an embedded newline character. In Python applications—particularly those using single-threaded asynchronous event loops—an unauthenticated remote attacker transmitting payloads over newline-preserving carriers can monopolize CPU execution and induce application-level Denial of Service.

Alon Barad
Alon Barad
5 views•10 min read