CVE-2026-40259

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*

History

20 Apr 2026, 16:49

Type Values Removed Values Added
First Time B3log
B3log siyuan
References () https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4 - () https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4 - Release Notes
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7m5h-w69j-qggg - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7m5h-w69j-qggg - Exploit, Third Party Advisory
CPE cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*

20 Apr 2026, 16:16

Type Values Removed Values Added
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7m5h-w69j-qggg - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7m5h-w69j-qggg -

16 Apr 2026, 23:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-16 23:16

Updated : 2026-04-20 16:49


NVD link : CVE-2026-40259

Mitre link : CVE-2026-40259

CVE.ORG link : CVE-2026-40259


JSON object : View

Products Affected

b3log

  • siyuan
CWE
CWE-285

Improper Authorization