Docker
CVE-2026-33203
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend WebSocket request with auth keepalive query parameter
-
DeliveryBypass authentication check
-
ExploitSend malformed JSON message
-
ExecutionTrigger unchecked type assertion
-
ImpactKernel 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub 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
mkdir -p ./workspaceStep 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/workspaceService becomes reachable at http://127.0.0.1:6806
Step 3 - Confirm service availability
Open in browser:
http://127.0.0.1:6806Step 4 - Connect to unauthenticated WebSocket endpoint
ws://127.0.0.1:6806/ws?app=siyuan&id=auth&type=authThis connection is accepted without credentials.
Step 5 - Send malformed payload
Payload:
{}
Step 6 - Observe behavior
Monitor container logs:
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
Related Vulnerabilities in SiYuan Kernel Multiple Security Flaws
View all 2An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Same weakness CWE-248 – Uncaught Exception
View allSame technique Authentication Bypass
View allVendor 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 |
GHSA-3g9h-9hp4-654v
NVD
CVE.org
EPSS
VulDB
Exploit-DB