CVE-2025-68948 SiYuan: Information Disclosure and Authentication Bypass via Hardcoded Session Secret
Attackers can decrypt session cookies using a hardcoded secret to steal authentication codes and take over user accounts in SiYuan.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-68948?
CVE-2025-68948 is a medium-severity vulnerability in B3log Siyuan, published on 27 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-68948?
It affects 1 product.
Products include B3log Siyuan.
How do I fix CVE-2025-68948?
No fix has been published for CVE-2025-68948 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-68948 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-68948 exists.
Other vulnerabilities in B3log Siyuan
- CVE-2026-32938 SiYuan has an Arbitrary File Read in its Desktop Publish Service
- CVE-2026-33669 SiYuan has Arbitrary Document Reading within the Publishing Service
- CVE-2026-33670 SiYuan has directory traversal within its publishing service
- CVE-2026-32767 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
- CVE-2024-53504 SQL injection in n/a
Sources
Also known as GHSA-f7ph-rc3w-qp28.