CVE-2025-68948: SiYuan: Information Disclosure and Authentication Bypass via Hardcoded Session Secret

Published Dec 27, 2025
·
Updated

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

2 affected components
SiYuan SiYuan Note<=3.5.1
b3log SiYuan<3.5.2

Event History

Dec 27, 2025
CVE Published
via MITRE·12:21 AM
Data Sourced
via MITRE·12:21 AM
DescriptionWeakness
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68948?

CVE-2025-68948 is classified as a high severity vulnerability due to ineffective session encryption.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203