Skip to main content

SiYuan EUVDEUVD-2026-109427

| CVE-2026-116166 HIGH
Cleartext Transmission of Sensitive Information (CWE-319)
2026-10-25 VulnCheck GHSA-89mj-v839-4h76
7.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain network-adjacent position
  2. Delivery
    Sniff cleartext kernel HTTP traffic
  3. Exploit
    Capture access auth code and session cookie
  4. Execution
    Replay cookie to kernel API
  5. Impact
    Hijack full kernel session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V12 - Secure Communication Transport encryption
Exploitation Conditions

Requires that an operator has enabled network serving and then set networkServeTLS=true via POST /api/system/setNetworkServeTLS expecting encrypted transport - the kernel persists but never enforces this, so the port keeps serving full-API plain HTTP. The attacker must additionally occupy a network-adjacent position (same LAN/segment) to sniff the cleartext login flow and session cookie. Exploitation is aided by two compounding defects on the same transport path: the session cookie from session.go line 140 is issued without the Secure attribute (only HttpOnly and SameSite=Lax), and HTTPS responses carry no Strict-Transport-Security header, allowing cookie leakage over any cleartext request and browser downgrade. Limiting factors: no remote/internet vector (adjacency only), high attack complexity, and dependence on the operator having turned on the toggle; attackers with no sniffing position cannot exploit it.

Impact

The supplied CVSS 4.0 vector (AV:A/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N, base 7.6) describes a network-adjacent, no-privilege, no-interaction flaw whose exploitation carries a defined attack requirement (AT:P) and high complexity (AC:H) - these map directly to the two stated preconditions: the attacker must hold a network-adjacent sniffing position and the operator must have enabled the networkServeTLS toggle. The GHSA advisory reports the cleartext behavior was verified live on v3.8.6 and publishes concrete PoC steps, so the mechanism is confirmed rather than inferred; however, no EPSS score and no KEV status were provided in the input, so widespread-exploitation probability cannot be quantified from the data. There is no public exploit identified as weaponized code - a public PoC reference exists in the advisory but is not verified as working exploit code. The vuln.today decision label is this_week and the reporting vendor itself suggested a Medium rating (not High) precisely because exploitation requires adjacency plus an operator who enabled the setting; this is therefore a credible but conditioned priority rather than a drop-everything internet-wide threat, and the adjacency plus operator-toggle gate meaningfully limits real-world blast radius despite the High-band score.

Exploit ScenarioDerived

An operator enables networkServeTLS believing kernel traffic is now encrypted, but the kernel port continues answering full-API plain HTTP alongside HTTPS on the same port. An attacker on the same LAN or adjacent network segment passively sniffs the cleartext login flow, captures the submitted access auth code and the 30-day session cookie (which lacks the Secure attribute while responses omit HSTS), and replays the cookie to take over the victim's kernel API session. Published PoC steps in the GHSA advisory demonstrate the cleartext response and the missing Secure/HSTS controls on v3.8.6.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 25, 2026

SiYuan 3.6.0 through 3.8.6 accepts and persists the networkServeTLS administrator setting but never enforces it, so the kernel port continues answering plain HTTP with full API access in cleartext while also serving HTTPS on the same port. An operator who enables the toggle believes kernel traffic is encrypted, yet a network-adjacent attacker can sniff the login flow - including the access auth code - and the session cookie, which is issued without the Secure attribute while HTTPS responses omit HSTS, allowing session hijack against the kernel API. Exploitation requires a network-adjacent sniffing position and the operator having enabled the setting, which is why the flaw is rated for adjacency and high complexity rather than internet-wide exposure; a public PoC reference exists describing the verification steps, and it is not confirmed as working exploit code. A vendor fix is available in v3.8.7.

RemediationAI

Vendor-released patch: v3.8.7 (fixed version for the >= 3.6.0, <= 3.8.6 range); upgrading is the complete fix, since the defect is in the listener wiring itself, and the vendor advisory https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hpj5-f7cj-vvwr documents the change. Until upgrading, the exposure only exists on instances where network serving is enabled and networkServeTLS has been set true, so the most direct compensation is to keep network serving disabled where remote access is unnecessary, or to accept that the kernel port remains plain HTTP alongside HTTPS despite the toggle and therefore restrict that port to trusted segments using host firewalls or segment ACLs so only intended clients can reach it - noting this does not remove cleartext on-path visibility for those who remain on the same segment. Because the session cookie lacks the Secure attribute and HTTPS responses omit Strict-Transport-Security, browsers on the same host can still leak the 30-day session cookie over any cleartext request, so operators who keep network serving enabled should treat kernel sessions as exposed on shared network segments and keep the access auth code and session lifetime under review. The related transport advisories GHSA-4wwp-f6gw-6qm5, GHSA-7j37-4gq6-wm7m and GHSA-hhm2-g993-p656 were fixed in v3.8.6, so running v3.8.7 also consolidates those fixes.

Affected VersionsENISA

SiYuan 3.6.0 <3.8.7

Affected Packages

euvd siyuan fix: 3.8.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a cleartext transmission issue (CWE-319) rooted in how SiYuan's Go kernel wires its listener. In 3.8.x, kernel/server/serve.go computes useTLS from the NetworkServeTLS and NetworkServe configuration values but uses the result only to select a log message; the value never reaches the listener. TLS certificates are generated unconditionally via util.GetOrCreateTLSCert(), and whenever a certificate exists the port is served through util.ServeMultiplexed. The multiplexer in kernel/util/cmux.go routes cmux.Any() to a plain HTTP server and cmux.TLS() to the HTTPS server on the same port, so both transports are always available. In 3.6.0 and 3.7.0 the same setting gated only certificate generation, and the fixed-port proxy (kernel/server/proxy/fixedport.go) likewise served dual HTTP and HTTPS, meaning the setting has never been transport-enforcing in any release since it first appeared in 3.6.0. Two related weaknesses compound the exposure on the same path: the session cookie set in kernel/model/session.go line 140 carries HttpOnly and SameSite=Lax but no Secure attribute even for HTTPS-served logins, so browsers will send it over cleartext requests to the same host, and HTTPS responses carry no Strict-Transport-Security header, permitting browser downgrade. This is distinct from earlier SiYuan transport advisories GHSA-4wwp-f6gw-6qm5, GHSA-7j37-4gq6-wm7m and GHSA-hhm2-g993-p656, which described different mechanisms and were fixed in v3.8.6; none concerned networkServeTLS being a non-enforced setting. The Go module is tracked as vulnerable from >= 3.6.0 through <= 3.8.6 and fixed in v3.8.7, matching the CPE cpe:2.3:a:siyuan-note:siyuan entry.

Know when Siyuan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.6 HIGH
CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

Network-adjacent sniffing yields AV:A; dependence on the operator enabling the toggle plus capturing live traffic gives AC:H; attacker needs no account so PR:N; cleartext creds and session replay give C:H/I:H, no availability impact.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:A/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Adjacent
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 25, 2026 - 14:01 EUVD
CVE Published
Oct 25, 2026 - 13:20 cve.org
HIGH 7.6

DescriptionCVE.org

SiYuan 3.6.0 before 3.8.7 accepts and persists the networkServeTLS setting but never enforces it, so the kernel port keeps serving full API access over plain HTTP alongside HTTPS. Network-adjacent attackers can sniff the cleartext login flow and session cookie, which lacks the Secure attribute while responses omit HSTS, to hijack kernel API sessions.

Technical POC Analysis

Evidence caveat: the only supplied artifact is advisory GHSA-hpj5-f7cj-vvwr.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

SiYuan versions 3.6.0 through 3.8.6 fail to enforce TLS for kernel API traffic, potentially exposing administrative credentials and session cookies to network-adjacent attackers. This undermines the confidentiality of sensitive data and could lead to unauthorized access to the SiYuan workspace, affecting all users who have enabled the networkServeTLS setting. Leadership should prioritize remediation to maintain trust and data integrity.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to SiYuan v3.8.7. Until patched, restrict kernel port access to trusted networks via firewall rules or VPN, disable the networkServeTLS setting if not required, and monitor for anomalous session activity.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
self-hosted personal note-taking app, niche non-enterprise footprint
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy