CVE-2026-40259

SiYuan: Publish Reader Can Arbitrarily Delete Attribute View Files via removeUnusedAttributeView API

HIGH
8.1
CVSS Score
Published: April 16, 2026 at 10:49 PM UTC
Updated: June 17, 2026 at 10:44 AM UTC
2 products affected across 2 vendorsSiyuanSiyuan

Using siyuan by siyuan-note?

Get instant alerts when new vulnerabilities affect siyuan - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.4%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.6.4
v < 0.0.0-20260407035653-2f416e5253f1v < 3.6.4
Affected range stops below 0.0.0-20260407035653-2f416e5253f1, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.6.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (2)

x_refsource_CONFIRMExploitThird Party Advisory
Source: cverecord
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7m5h-w69j-qggg
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.1HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-285

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card