Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 95%

CVE-2026-45147: CWE-285: Improper Authorization in siyuan-note siyuan

0
Medium
VulnerabilityCVE-2026-45147cvecve-2026-45147cwe-285cwe-862
Published: 05/14/2026 (05/14/2026, 18:21:40 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, POST /api/tag/getTag is registered with model.CheckAuth only, omitting both model.CheckAdminRole and model.CheckReadonly, despite the handler performing a configuration write that is normally guarded by both. Any authenticated user — including publish-service RoleReader accounts and RoleEditor accounts on a read-only workspace — can call this endpoint with a sort argument to mutate model.Conf.Tag.Sort and trigger model.Conf.Save(), which atomically rewrites the entire workspace conf.json. This vulnerability is fixed in 3.7.0.

CVSS v3.1

Score 4.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
siyuan-note/siyuan
pkg:github/siyuan-note/siyuan
Affected versions
<3.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/14/2026, 20:22:36 UTC

Technical Analysis

SiYuan versions before 3.7.0 have an authorization flaw in the POST /api/tag/getTag API endpoint. The endpoint is protected only by model.CheckAuth, lacking checks for admin or readonly roles, despite performing writes to the workspace configuration file (conf.json). Authenticated users with limited roles can exploit this to reorder tags and trigger saving the entire workspace configuration, potentially altering settings they should not control. This vulnerability is addressed in SiYuan 3.7.0.

Potential Impact

The vulnerability allows authenticated users with read-only or limited roles to modify the workspace configuration by changing tag sorting. This impacts the integrity of the workspace configuration but does not affect confidentiality or availability. There is no indication of exploitation in the wild.

Mitigation Recommendations

Upgrade SiYuan to version 3.7.0 or later, where this authorization issue is fixed. Since this is not a cloud service, users must apply the update themselves. Patch status is confirmed by the vendor stating the fix is in version 3.7.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-08T20:44:38.963Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a062b6cec166c07b00def93

Added to database: 05/14/2026, 20:07:08 UTC

Last enriched: 05/14/2026, 20:22:36 UTC

Last updated: 07/02/2026, 20:51:20 UTC

Views: 107

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses