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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 22% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-27T00:21:31.864Z
- Modified: 2026-10-13T09:10:00.323Z
- Weaknesses: CWE-321, CWE-798
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: <= 3.5.1
- b3log siyuan: before 3.5.2

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-f7ph-rc3w-qp28> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-68948](https://www.cve.org/CVERecord?id=CVE-2025-68948), CVE Terms of Use, modified 2025-12-29
- NVD: [CVE-2025-68948](https://nvd.nist.gov/vuln/detail/CVE-2025-68948), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2025-68948 · Whole record: https://cve.day/CVE-2025-68948.json · Rebuilt by cve.day 2026-11-25T22:59:09.958Z
