Summary
CVE-2026-134249 is an authentication bypass (CWE-287, Improper Authentication) in SiYuan Note, the open-source note-taking application. It allows unauthenticated attackers to gain the Administrator role by spoofing the X-Forwarded-For header through a reverse proxy, and to read private note-history contents. The CVSS 4.0 score is 8.7 (High).
Technical details
- Root cause: improper authentication. The application trusts a spoofed
X-Forwarded-Forheader when requests arrive through a loopback-trusted reverse proxy. - Trigger conditions: SiYuan is reachable through a reverse proxy, and no lock-screen password is configured.
- Attack vector: a remote, unauthenticated network request with
Hostset tolocalhostandX-Forwarded-Forset to127.0.0.1, sent to the/history/*pathroute. - Impact: the attacker gains the Administrator role and can read private note-history contents. The record describes the impact as mainly a loss of confidentiality.
Affected software
- SiYuan Note versions before 3.8.10 (through 3.8.9).
Severity
- CVSS v4.0: 8.7 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: upgrade SiYuan to version 3.8.10 or later.
- Until you can upgrade: configure a lock-screen password, because the published description ties the exposure to the case where none is set. Do not expose SiYuan through a reverse proxy that is trusted as loopback. Restrict network access to the instance.

