Skip to main content

Path Traversal: '../filedir'

CVE-2026-40318

Severity High
Score 8.5/10

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