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…

CVE-2026-59854: CWE-693: Protection Mechanism Failure in siyuan-note siyuan

0
Medium
VulnerabilityCVE-2026-59854cvecve-2026-59854cwe-693
Published: 07/09/2026 (07/09/2026, 22:25:39 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan before version 3.7.1 has a protection mechanism failure in its file copying API. The POST /api/file/globalCopyFiles endpoint accepts absolute source paths and uses a denylist to block sensitive files. However, this denylist misses common credential files such as .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json, and .gnupg. This allows an authenticated administrator or API-token user to copy these sensitive files into the workspace and potentially exfiltrate them. The issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.

CVSS v3.1

Score 4.9medium

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

Affected software

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

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: 07/09/2026, 23:02:54 UTC

Technical Analysis

The vulnerability in SiYuan (CVE-2026-59854) involves a protection mechanism failure (CWE-693) in the POST /api/file/globalCopyFiles endpoint prior to version 3.7.1. The endpoint accepts attacker-supplied absolute source paths and relies on a denylist implemented in util.IsSensitivePath to block sensitive files. However, this denylist omits several common home-directory credential files, enabling an authenticated administrator or API-token user to copy these files into the workspace and exfiltrate them through the file API. The vulnerability is addressed in versions 3.7.1-alpha.2 and 3.7.1.

Potential Impact

An authenticated administrator or API-token user can bypass the intended protection mechanism to copy sensitive credential files from the home directory into the workspace. This can lead to exposure of sensitive credentials such as Git, database, Kubernetes, Docker, and GnuPG credentials. The confidentiality of these files is compromised, but there is no direct impact on integrity or availability. The CVSS 3.1 base score is 4.9 (medium severity) with network attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, high confidentiality impact, and no integrity or availability impact.

Mitigation Recommendations

A fix is available in SiYuan versions 3.7.1-alpha.2 and 3.7.1. Users should upgrade to one of these versions or later to remediate this vulnerability. No other mitigation guidance is provided or required as the issue is resolved by the official fix.

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-07-07T15:41:53.606Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a50252a68715ace43310cef

Added to database: 07/09/2026, 22:48:10 UTC

Last enriched: 07/09/2026, 23:02:54 UTC

Last updated: 07/09/2026, 23:28:00 UTC

Views: 4

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