CVE-2026-40259
CVE-2026-40259 is a high-severity vulnerability in B3log Siyuan with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-285.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- EPSS exploit prediction: 0% (32nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-23324
- Weakness: CWE-285
- Affected product: B3log Siyuan
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-40259?
- CVE-2026-40259 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability high.
- Is CVE-2026-40259 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (32nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40259?
- CVE-2026-40259 affects B3log Siyuan. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-40259?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-40259 have an EU (EUVD) identifier?
- Yes. CVE-2026-40259 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-23324.
- When was CVE-2026-40259 published?
- CVE-2026-40259 was published on 2026-04-16 and last updated on 2026-06-17.
References
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7m5h-w69j-qggg
Affected products (1)
- cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
More vulnerabilities in B3log Siyuan
- CVE-2026-32938 — Critical (CVSS 9.9): SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the /api/lute/html2BlockDOM on the…
- CVE-2026-33670 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, the /api/file/readDir interface was used to…
- CVE-2026-33669 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, document IDs were retrieved via the…
- CVE-2026-32767 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass…
- CVE-2024-55660 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.1.16, SiYuan's `/api/template/renderSprig`…
- CVE-2024-53507 — Critical (CVSS 9.8): A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems.
All CVEs affecting B3log Siyuan →
Other CWE-285 (Improper Authorization) vulnerabilities
- CVE-2025-65041 — Critical (CVSS 10.0): Improper authorization in Microsoft Partner Center allows an unauthorized attacker to elevate privileges over a network.
- CVE-2023-33189 — Critical (CVSS 10.0): Pomerium is an identity and context-aware access proxy. With specially crafted requests, incorrect authorization…
- CVE-2022-2595 — Critical (CVSS 10.0): Improper Authorization in GitHub repository kromitgmbh/titra prior to 0.79.1.
- CVE-2021-28799 — Critical (CVSS 10.0): An improper authorization vulnerability has been reported to affect QNAP NAS running HBS 3 (Hybrid Backup Sync. ) If…
- CVE-2026-34048 — Critical (CVSS 9.9): Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to…
- CVE-2026-5412 — Critical (CVSS 9.9): In Juju versions prior to 2.9.57 and 3.6.21, an authorization issue exists in the Controller facade. An authenticated…
Browse all CWE-285 (Improper Authorization) vulnerabilities →