Skip to main content
VulnerabilityPublished Updated

CVE-2026-40259: siyuan · Improper Authorization

Affects siyuanSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.1 High : upgrade to 3.6.4 or 0.0.0-20260407035653-2f416e5253f1 soon.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.6.4, 0.0.0-20260407035653-2f416e5253f1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade siyuan to 3.6.4 or 0.0.0-20260407035653-2f416e5253f1; siyuan-note/siyuan to 3.6.4.

Affected software

ProductAffectedFixed in
siyuan-notesiyuanAffected
  • <3.6.4
Fixed in
  • 3.6.4
siyuan-notesiyuanAffected
  • <0.0.0-20260407035653-2f416e5253f1
Fixed in
  • 0.0.0-20260407035653-2f416e5253f1
GitHubsiyuan-note/siyuanpkg:github/siyuan-note/siyuanOther threatsAffected
  • <3.6.4
Fixed in
  • 3.6.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to SiYuan version 3.6.4 or later, where this improper authorization vulnerability has been fixed. Until upgrading, restrict access to publish-service RoleReader tokens to trusted users only. Patch status is not explicitly stated beyond the fixed version; therefore, verify the vendor advisory for the latest remediation guidance.

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.

References

Community reviews

Loading reviews…