Improper Authorization Affecting github.com/siyuan-note/siyuan/kernel/api package, versions <3.6.4-dev2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSIYUANNOTESIYUANKERNELAPI-16322715
  • published30 Apr 2026
  • disclosed10 Apr 2026
  • creditch1nhpd

Introduced: 10 Apr 2026

CVE-2026-40259  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade github.com/siyuan-note/siyuan/kernel/api to version 3.6.4-dev2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization via the /api/av/removeUnusedAttributeView process. An attacker can delete arbitrary attribute view definition files and disrupt workspace integrity and availability by sending crafted requests with a valid reader token and a known avID. This is only exploitable if the publish service is enabled, the attacker can access the publish service, and possesses valid publish-reader credentials.

CVSS Base Scores

version 4.0
version 3.1