CVE-2026-145020: SiYuan 3.8.7 before 3.8.11 TLS Enforcement Bypass via /check-auth Query
SiYuan from 3.8.7 before 3.8.11 contains a TLS enforcement bypass vulnerability that allows remote attackers to receive the authentication page over plaintext HTTP by adding '://' to the request query. On-path attackers can tamper with the plaintext /check-auth page to capture the workspace access code submitted to /api/system/loginAuth, gaining administrator access to notes and settings.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be able to intercept or alter a victim's network traffic while the victim accesses the affected authentication page. The attack does not require prior authentication, but it requires the victim to submit a workspace access code through the tampered page.
What is the impact if exploitation succeeds?
A successful on-path attacker can capture the workspace access code submitted to /api/system/loginAuth. This can give the attacker administrator access to notes and settings.
Which versions are affected?
SiYuan versions from 3.8.7 before 3.8.11 are affected. Version 3.8.11 is not identified as affected by the provided advisory information.
How does the TLS bypass get triggered?
The affected /check-auth endpoint can return the authentication page over plaintext HTTP when the request query includes ://. An attacker can use this behavior to present a modified authentication page to the victim.