Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-59834 – SQL Injection / Unauthorized Disclosure of Private Documents – SiYuan prior to 3…

Be the first to know when new zero-days emerge:

Summary

CVE-2026-59834 is a high-severity SQL injection vulnerability (CWE-89) in SiYuan, an open-source self-hosted personal knowledge management system. The flaw exists in the block search endpoint POST /api/search/fullTextSearchBlock, where user-supplied paths[] values are concatenated directly into SQL predicates, enabling an unauthenticated publish visitor to inject a UNION SELECT statement and exfiltrate content from documents that are hidden from public access. The issue is fixed in version 3.7.1, and all prior versions are affected.

Technical details

  • Root cause: The paths[] request parameter undergoes no SQL escaping before being concatenated via fmt.Sprintf() into WHERE clause predicates used by non-SQL search modes. This allows arbitrary SQL to be appended to the query.
  • Bypass mechanism: The injected UNION SELECT projects a visible notebook’s box and path values alongside rows from hidden documents. Because the publish access filter trusts the box and path fields returned from the SQL result set rather than enforcing visibility checks during query execution, the injected rows pass post-query validation undetected.
  • Attack vector: Any unauthenticated visitor of a SiYuan instance with the publish feature enabled receives a reader-role token, which is sufficient to send crafted requests to the vulnerable endpoint. No additional credentials or privileges are required.
  • Impact: Successful exploitation allows an unauthenticated attacker to read block-level content from documents that SiYuan’s visibility controls are designed to keep hidden, resulting in a complete bypass of the publish access model and unauthorized disclosure of private knowledge base content.

Affected software

  • SiYuan (siyuan-note/siyuan) — all versions prior to 3.7.1

Severity

CVSS v3.1 Base Score: 7.5 (HIGH)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Mitigation and recommended actions

  • Immediate: Upgrade SiYuan to version 3.7.1 or later, which replaces string concatenation with parameterized SQL queries and enforces visibility filters at query execution time rather than post-query.
  • If immediate patching is not possible: Restrict public network access to the SiYuan instance (e.g., place it behind a VPN or firewall) and disable the publish feature until the upgrade can be applied.

IONIX Status

The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge