CVE-2026-40259
Last modified
CVE-2026-40259 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| B3log | Siyuan | < 3.6.4 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7m5h-w69j-qgggExploit, Third Party Advisory
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-7m5h-w69j-qgggExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40259?
How severe is CVE-2026-40259?
How do I fix CVE-2026-40259?
Are you affected by CVE-2026-40259?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
