CVE-2025-68948: SiYuan: Information Disclosure and Authentication Bypass via Hardcoded Session Secret
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-68948?
CVE-2025-68948 is classified as a high severity vulnerability due to ineffective session encryption.
How do I fix CVE-2025-68948?
To fix CVE-2025-68948, upgrade to SiYuan Note version 3.5.2 or later, which addresses the hardcoded cryptographic secret issue.
What impact does CVE-2025-68948 have on user data?
CVE-2025-68948 can lead to potential session hijacking, compromising user sessions and sensitive data.
Which versions of SiYuan Note are affected by CVE-2025-68948?
SiYuan Note versions 3.5.1 and prior are affected by CVE-2025-68948.
Is session encryption safe in versions after CVE-2025-68948?
Yes, session encryption in versions after CVE-2025-68948 is safe as the vulnerability has been patched.