Skip to main content

Docker CVE-2026-33203

HIGH
Uncaught Exception (CWE-248)
2026-03-18 https://github.com/siyuan-note/siyuan GHSA-3g9h-9hp4-654v
7.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Send WebSocket request with auth keepalive query parameter
  2. Delivery
    Bypass authentication check
  3. Exploit
    Send malformed JSON message
  4. Execution
    Trigger unchecked type assertion
  5. Impact
    Kernel panic and denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
Exploitation Conditions

Remote unauthenticated attacker sends WebSocket connection request to SiYuan kernel with 'auth keepalive' query parameter, then sends malformed JSON messages to trigger runtime panic and denial of service. No user interaction required.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) indicates a network-exploitable denial-of-service vulnerability requiring no privileges, low attack complexity, and no user interaction, resulting in high availability impact. The availability of a detailed proof-of-concept with Docker-based reproduction steps significantly lowers the exploitation barrier. Real-world risk is contextual: SiYuan is often run locally with localhost-only binding, limiting exposure, but Docker deployments commonly expose port 6806 to networks or use reverse proxies, dramatically increasing attack surface. The vulnerability enables automatable attacks where an attacker can repeatedly crash the kernel with simple malformed JSON payloads. While no KEV listing or EPSS score is provided, the combination of authentication bypass, trivial exploitation (empty JSON object triggers crash), and public POC makes this a legitimate priority for internet-exposed or multi-user deployments. For default localhost-only installations, risk is substantially lower as network access is required.

Exploit ScenarioDerived

An attacker identifies a SiYuan instance exposed on a corporate network or via Docker port forwarding, then connects to the WebSocket endpoint at ws://target:6806/ws?app=siyuan&id=auth&type=auth without any credentials, successfully bypassing authentication. The attacker sends a malformed JSON payload such as an empty object {} or a message missing required fields, causing the Go runtime to panic on the unchecked type assertion and immediately crash the kernel process. By automating this attack with repeated connections and malformed payloads, the attacker can maintain persistent denial of service, forcing continuous service restarts and preventing legitimate users from accessing their notes or knowledge base.

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 – Mar 18, 2026

The SiYuan kernel, a Go-based note-taking application, contains an authentication bypass vulnerability in its WebSocket server that allows unauthenticated attackers to crash the kernel process through malformed JSON messages. SiYuan kernel versions exposed via Docker or network-accessible deployments are affected, with the issue stemming from unsafe type assertions on attacker-controlled input after bypassing authentication via a specific query parameter pattern. A proof-of-concept demonstrating the attack exists in the GitHub advisory, and while CVSS rates this as 7.5 High severity for availability impact, real-world exploitation risk depends heavily on network exposure beyond localhost.

RemediationAI

Users should immediately consult the official SiYuan security advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3g9h-9hp4-654v for patched versions and upgrade instructions. Until patching is completed, implement network-level controls to restrict WebSocket access to trusted IP addresses only, ensuring the service is not exposed to untrusted networks or the public internet. For Docker deployments, bind port 6806 to localhost only (127.0.0.1:6806:6806) rather than 0.0.0.0, and remove or secure any SIYUAN_ACCESS_AUTH_CODE_BYPASS environment variables. If reverse proxy access is required, implement strict input validation and rate limiting at the proxy layer, and consider using authentication middleware before requests reach the SiYuan kernel. Monitor container logs for repeated crash-restart cycles indicating exploitation attempts.

Affected Packages

go github.com/siyuan-note/siyuan/kernel fix: 3.6.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

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

Technical ContextAI · show details

The vulnerability affects the SiYuan kernel, a Go-based personal knowledge management system identified by CPE pkg:go/github.com_siyuan-note_siyuan_kernel. The issue manifests in the WebSocket server implementation within kernel/server/serve.go, where authentication can be bypassed by including specific query parameters (?app=siyuan&id=auth&type=auth) intended for authentication page keepalive functionality. Once connected, the server performs unchecked type assertions on JSON message fields (cmd, reqId, param) without validation, triggering Go runtime panics when fields are missing or of unexpected types. This represents CWE-248 (Uncaught Exception), where the absence of proper error handling and input validation on untrusted data causes the application to terminate abnormally. The vulnerability is particularly relevant in containerized Docker deployments where the service is commonly exposed beyond localhost.

Know when Docker 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

GitHub Advisory PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 18, 2026 - 20:11 nvd
HIGH 7.5

DescriptionGitHub Advisory

Summary

The SiYuan kernel WebSocket server accepts unauthenticated connections when a specific “auth keepalive” query parameter is present. After connection, incoming messages are parsed using unchecked type assertions on attacker-controlled JSON.

A remote attacker can send malformed messages that trigger a runtime panic, potentially crashing the kernel process and causing denial of service.

Details

1. Authentication Bypass via Keepalive Query

Unauthenticated connections are accepted if the request URI matches a specific pattern intended for an authentication page keepalive.

File: kernel/server/serve.go

if !authOk {
    authOk = strings.Contains(s.Request.RequestURI, "/ws?app=siyuan") &&
             strings.Contains(s.Request.RequestURI, "&id=auth&type=auth")
}

2. Unsafe Type Assertions on Untrusted Input

Incoming JSON messages are parsed into a generic map and fields are accessed without validation.

File: kernel/server/serve.go

cmdStr := request["cmd"].(string)
cmdId  := request["reqId"].(float64)
param  := request["param"].(map[string]interface{})

Malformed or missing fields trigger a runtime panic. The handler does not implement local panic recovery, allowing crashes to propagate.

PoC

Step 1 - Prepare workspace directory

sh
mkdir -p ./workspace

Step 2 - Run SiYuan container

docker run -d \
  -p 6806:6806 \
  -e SIYUAN_ACCESS_AUTH_CODE_BYPASS=true \
  -v $(pwd)/workspace:/siyuan/workspace \
  b3log/siyuan \
  --workspace=/siyuan/workspace

Service becomes reachable at http://127.0.0.1:6806

Step 3 - Confirm service availability

Open in browser:

sh
http://127.0.0.1:6806

Step 4 - Connect to unauthenticated WebSocket endpoint

sh
ws://127.0.0.1:6806/ws?app=siyuan&id=auth&type=auth

This connection is accepted without credentials.

Step 5 - Send malformed payload

Payload:

sh

{}

Step 6 - Observe behavior

Monitor container logs:

sh

docker logs -f <container_id>

Impact

An unauthenticated attacker with network access can repeatedly crash the kernel, causing persistent denial of service.

Impact is highest when the service is exposed beyond localhost (e.g., Docker deployments, reverse proxies, LAN access, or public hosting).

Executive ViewAI

Why It Matters

SiYuan note-taking applications exposed on networks or Docker deployments are vulnerable to denial-of-service attacks that crash the kernel process without requiring authentication. Organizations using SiYuan in collaborative or cloud environments face service disruption risk until remediation is available.

Business Impact: Medium
Compensating Controls

Restrict network access to SiYuan WebSocket server via firewall rules or security groups (localhost-only or trusted networks only). Deploy WAF rules to block malformed JSON payloads on port 6806 if internet-facing. Disable or isolate SiYuan deployments not requiring network accessibility. Monitor process crashes via system alerts. Implement rate limiting on WebSocket connections. Consider reverse proxy authentication layer in front of SiYuan service.

Threat Intelligence Overview

EPSS Score
0.1%
Top 72% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA Vendor GitHub VulDB

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
Open
Automatable· derived
Yes
Human Impact
Medium

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

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)GitHub Advisory

pkg:go/github.com_siyuan-note_siyuan_kernel

Related Vulnerabilities in SiYuan Kernel Multiple Security Flaws

View all 2

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Leap 15.6 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP5 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP6 Fixed
openSUSE Leap 15.5 Fixed

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