Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-54066: SiYuan publish mode path traversal via double URL encoding

Published Jun 24, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS2.2%83rd percentile
CISA KEVNoNot listed
In the wildReported40 exploitation records in Mallory
IdentifiersCVE-2026-54066CWE-22 · Improper Limitation of a Pathname…

CVE-2026-54066 is a path traversal vulnerability in SiYuan prior to version 3.7.0. The issue affects the /assets/*path route in publish mode and stems from an incomplete fix for CVE-2026-41894: while the earlier patch sanitized the /export/ route, the same root cause remained reachable through the assets handler. By supplying double-URL-encoded directory traversal sequences, an unauthenticated remote attacker can bypass path sanitization and cause the application to resolve and return arbitrary files located within WorkspaceDir. Exposed data can include configuration files, temporary SQLite databases, and application logs. Sensitive material available through these files may include the AccessAuthCode SHA256 hash, API tokens, and synchronization credentials.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows unauthenticated arbitrary file read within SiYuan's WorkspaceDir when publish mode is exposed. This can disclose sensitive configuration data, authentication material, local databases, and logs. Theft of API tokens or related secrets can enable authenticated access to kernel APIs with notebook read/write capabilities, and exposure of synchronization credentials may facilitate compromise of connected synchronization resources or broader follow-on access.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, disable publish mode where it is not strictly required. Restrict network access to the publish endpoint to trusted hosts or internal networks only, and prevent anonymous exposure of the /assets/*path route through firewalling, reverse-proxy policy, or segmentation. Monitor for suspicious requests containing encoded traversal patterns targeting publish-mode asset paths.

Remediation

Patch, then assume compromise.

Upgrade SiYuan to version 3.7.0 or later. The fix removes the unsafe path decoding behavior in asset path resolution, ensures sensitive-path checks are consistently applied to the /assets/*path handler, and strengthens access validation for files reachable through publish mode.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-54066 exploited in the wild?
Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-54066?
Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-54066.
Is there a patch for CVE-2026-54066?
Upgrade SiYuan to version 3.7.0 or later. The fix removes the unsafe path decoding behavior in asset path resolution, ensures sensitive-path checks are consistently applied to the /assets/*path handler, and strengthens access validation for files reachable through publish mode.
How severe is CVE-2026-54066?
CVE-2026-54066 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 2.2% (83rd percentile) as of Sep 25, 2026.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.