SecurityContext

CVE-2026-25539: SiYuan - Unrestricted File Upload

  • Cve: CVE-2026-25539
  • Name: SiYuan - Unrestricted File Upload
  • Description: SiYuan is a personal knowledge management system. Prior to version 3.5.5, the /api/file/copyFile endpoint does not validate the dest parameter, allowing authenticated users to write files to arbitrary locations on the filesystem. This can lead to Remote Code Execution (RCE) by writing to sensitive locations such as cron jobs, SSH authorized_keys, or shell configuration files. This issue has been patched in version 3.5.5.
  • Impact: Authenticated users can write files to arbitrary locations, potentially leading to remote code execution and full system compromise.
  • Remediation: Update to version 3.5.5 or later.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution, file_system_write
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01105
  • Epss percentile: 0.66465
  • Assignee: [email protected]
  • Published at: 2026-02-04T22:16:00Z
  • Age in days: 293
  • Modified at: 2026-06-17T10:24:49Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25539
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-c4jr-5q7w-f6r9nvd2026-02-04

References

UrlSourceTags
https://github.com/siyuan-note/siyuan/commit/d7f790755edf8c78d2b4176171e5a0cdcd720febnvdPatch
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-c4jr-5q7w-f6r9nvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
b3log:siyuan<= 3.5.3nonvd/v1/products/b3log/siyuan

Projects

RepositoryLink kindsIndexedUrl
siyuan-note/siyuancommit, fix, package, security_advisoryyes/v1/repositories/siyuan-note/siyuan

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-02-04
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 354
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports