Path Traversal: '../filedir'
CVE-2026-40318
Summary
SiYuan's publish/read-only boundary can be broken through `/api/av/removeUnusedAttributeView`. A publish-service Reader context can call this endpoint because it is protected only by CheckAuth, and publish requests are forwarded upstream with a valid RoleReader JWT.
- LOW
- NETWORK
- LOW
- CHANGED
- NONE
- LOW
- NONE
- HIGH
CWE-24 - Path Traversal: '../filedir'
The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.
References
Advisory Timeline
- Published