← Vulnerability feed

Vulnerability record · CVE-2026-40259 · published 16 April 2026

CVE-2026-40259: B3log siyuan improper authorization vulnerability

B3log · Siyuan

SiYuan is an open-source personal knowledge management system. In versions 3.6.3 and below, the /api/av/removeUnusedAttributeView endpoint is protected only by generic authentication that accepts publish-service RoleReader tokens. The handler passes a caller-controlled id directly to a model function that unconditionally deletes the corresponding attribute view file from the workspace without verifying that the caller has write privileges or that the target attribute view is actually unused. An authenticated publish-service reader can permanently delete arbitrary attribute view definitions by extracting publicly exposed data-av-id values from published content, causing breakage of database views and workspace rendering until manually restored. This issue has been fixed in version 3.6.4.

8.1 CVSS 3.1 High EPSS 0.54% · top 57.0% CWE-285 · Improper authorization
8.1CVSS 3.1 base score
0.54%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

SiYuan is an open-source personal knowledge management system. In versions 3.6.3 and below, the /api/av/removeUnusedAttributeView endpoint is protected only by generic authentication that accepts publish-service RoleReader tokens. The handler passes a caller-controlled id directly to a model function that unconditionally deletes the corresponding attribute view file from the workspace without verifying that the caller has write privileges or that the target attribute view is actually unused. An authenticated publish-service reader can permanently delete arbitrary attribute view definitions by extracting publicly exposed data-av-id values from published content, causing breakage of database views and workspace rendering until manually restored. This issue has been fixed in version 3.6.4.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-40259 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-32767B3log siyuan sql injection vulnerabilitySiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextS…EPSS 0.70%9.8CVE-2026-30869B3log siyuan path traversal vulnerabilitySiYuan is a personal knowledge management system. Prior to 3.5.10, a path traversal vulnerability in the /export endpoint allows an attacker to read …EPSS 1.1%9.8CVE-2024-53507B3log siyuan sql injection vulnerabilityA SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems.EPSS 0.57%9.8CVE-2024-53504B3log siyuan sql injection vulnerabilityA SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory.EPSS 0.57%9.8CVE-2024-53505B3log siyuan sql injection vulnerabilityA SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent.EPSS 0.51%9.8CVE-2024-53506B3log siyuan sql injection vulnerabilityA SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs.EPSS 0.54%9.6CVE-2026-34449B3log siyuan vulnerabilitySiYuan is a personal knowledge management system. Prior to version 3.6.2, a malicious website can achieve Remote Code Execution (RCE) on any desktop …EPSS 0.80%9.1CVE-2026-32749B3log siyuan path traversal vulnerabilitySiYuan is a personal knowledge management system. In versions 3.6.0 and below, POST /api/import/importSY and POST /api/import/importZipMd write uploa…EPSS 0.57%

Source: NIST National Vulnerability Database (record CVE-2026-40259), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.