CVE-2025-68948: siyuan · Use of Hard-coded Cryptographic Key
Affects siyuanSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 26 Oct 2026, 06:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubsiyuan-note/siyuanpkg:github/siyuan-note/siyuanOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-68948, organizations should upgrade SiYuan Note to a version beyond 3.5.1 once a patch is released that removes the hardcoded cryptographic key and implements secure key management practices, such as per-installation unique keys or integration with secure key vaults. Until an official patch is available, organizations should restrict network access to the SiYuan Note instance and enforce strict transport layer security (TLS) to prevent session cookie interception. Implementing HTTP-only and Secure flags on cookies can reduce exposure to client-side attacks. Regularly rotating session secrets and invalidating existing sessions can limit the window of exploitation. Monitoring for unusual session activity or multiple concurrent sessions from different IPs may help detect hijacking attempts. Educating users about the risks of session hijacking and encouraging the use of VPNs or secure networks when accessing SiYuan Note can further reduce risk. Finally, organizations should consider isolating SiYuan Note instances within segmented network zones to limit lateral movement if compromise occurs.
Description
SiYuan is self-hosted, open source personal knowledge management software. In versions 3.5.1 and prior, the SiYuan Note application utilizes a hardcoded cryptographic secret for its session store. This unsafe practice renders the session encryption ineffective. Since the sensitive AccessAuthCode is stored within the session cookie, an attacker who intercepts or obtains a user's encrypted session cookie (e.g., via session hijacking) can locally decrypt it using the public key. Once decrypted, the attacker can retrieve the AccessAuthCode in plain text and use it to authenticate or take over the session.