Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2393+ Articles
159+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. SiYuan API Token Brute-Force via Missing Rate Limiting — CVE-2026-73056
SiYuan API Token Brute-Force via Missing Rate Limiting — CVE-2026-73056

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-73056

SiYuan API Token Brute-Force via Missing Rate Limiting — CVE-2026-73056

SiYuan's CheckAuth() middleware has no rate limiting, allowing unauthenticated attackers to brute-force API tokens and gain full admin access (CVSS 9.8).

Dylan H.

Security Team

August 17, 2026
3 min read

Affected Products

  • SiYuan < 3.7.4

Executive Summary

A critical unauthenticated brute-force vulnerability has been disclosed in SiYuan, the self-hosted personal knowledge management and note-taking application maintained by B3log (siyuan-note). Tracked as CVE-2026-73056 (CVSS v3.1: 9.8, CVSS v4.0: 9.3), the flaw stems from the CheckAuth() middleware's complete lack of rate-limiting, lockout mechanisms, or CAPTCHA on API token authentication. Any network-reachable attacker can make unlimited automated attempts to guess a SiYuan instance's API token, and upon success gains full administrator-level access to all stored notes and data.

Vulnerability Details

FieldValue
CVE IDCVE-2026-73056
CVSS v3.1 Score9.8 (Critical)
CVSS v4.0 Score9.3 (Critical)
Vector (v3.1)AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWECWE-307 — Improper Restriction of Excessive Authentication Attempts
Affected VersionsSiYuan < 3.7.4
GitHub AdvisoryGHSA-m6w6-p7pc-fpg2
Fixed VersionSiYuan 3.7.4

Technical Analysis

SiYuan's kernel exposes an API accepting authentication via Authorization headers or query parameters. The CheckAuth() middleware validates the API token but applies no throttling, no account lockout, and no CAPTCHA challenge on failed attempts. This allows an attacker to enumerate tokens at machine speed without triggering any defensive response.

Attack Flow

  1. Attacker identifies a SiYuan instance accessible on the network (or internet)
  2. Automated tooling submits requests to any SiYuan API endpoint with sequentially or randomly generated token values
  3. No lockout, delay, or detection mechanism interferes with enumeration
  4. Upon a successful match, the attacker gains full administrator access

Post-Exploitation Capabilities

With a valid API token, an attacker can:

  • Read, modify, or delete all notes and notebooks stored in SiYuan
  • Execute arbitrary file operations on the host system via SiYuan's kernel
  • Run arbitrary SQL queries against SiYuan's embedded database
  • Exfiltrate sensitive documents, personal notes, credentials, and attachments
  • Install persistent backdoors or further compromise the host

Affected Software

ComponentAffected Versions
SiYuan (siyuan-note/siyuan)All versions < 3.7.4

Mitigation

Immediate Fix

Upgrade to SiYuan 3.7.4 or later. The patch introduces proper restrictions on excessive authentication attempts, addressing the root cause.

Hardening Measures (All Versions)

  1. Generate a strong API token — use a long, high-entropy, randomly generated token. Short or predictable tokens dramatically reduce the time to brute-force success.
  2. Isolate SiYuan from the internet — bind the service to localhost or restrict it to a trusted VPN/LAN segment. SiYuan is not designed to be a public-facing web service.
  3. Add reverse-proxy rate limiting — if network access cannot be fully restricted, place SiYuan behind a reverse proxy (Nginx, Traefik, Caddy) with aggressive connection and request-rate limits.
  4. Audit access logs — review SiYuan logs for anomalous patterns of failed authentication attempts.

Detection

Watch for:

  • High volumes of API requests with Authorization headers from a single IP
  • Repeated 401 responses in SiYuan kernel logs
  • Sudden successful authentication from an unfamiliar source IP

References

  • NVD — CVE-2026-73056
  • GitHub Advisory GHSA-m6w6-p7pc-fpg2
  • SiYuan Release 3.7.4
#CVE#SiYuan#Brute Force#API Security#Authentication#Knowledge Management

Related Articles

SiYuan API Authentication Has No Rate Limiting (CVE-2026-73046)

SiYuan before v3.7.4 has no brute-force protection on its /api/* auth middleware, exposing the workspace to credential stuffing. CVSS 9.8.

4 min read

CVE-2026-33669: SiYuan Unauthenticated Document Content

A critical unauthenticated information disclosure vulnerability in SiYuan, the personal knowledge management system, allows remote attackers to retrieve...

4 min read

CVE-2026-33670: SiYuan readDir Path Traversal Notebook

A critical path traversal vulnerability in SiYuan's /api/file/readDir interface allows unauthenticated remote attackers to traverse notebook directories...

4 min read
Back to all Security Alerts