8.1

CVE-2026-40259: b3log siyuan Improper Authorization

CVSS: 8.1v3.1HighAnalyzed
AliasesGHSA-7m5h-w69j-qgggGO-2026-5229
Published 16-04-2026Last modified 20-04-2026

Vulnerability summary

CVE-2026-40259 is a high (CVSS 8.1) Improper Authorization vulnerability in b3log siyuan. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 44.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
43/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.54%
0%100%
Low · +0.14 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 16-04-2026
    PublishedVulnerability first disclosed.
  2. 20-04-2026
    Last modifiedVulnerability information updated.

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 metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.54%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

+0.14 pp

From 0.40% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.54%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Siyuan

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

B3log1 product
Github.com/siyuan-note/siyuan1 product
  • kernel< 0.0.0-20260407035653-2f416e5253f1
Siyuan-note1 product
  • siyuan< 0.0.0-20260407035653-2f416e5253f1 | < 3.6.4

3 vendors · 3 products

References

4 links