Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. surrealdb
  4. ›
  5. GHSA-q729-696q-g9pq

GHSA-q729-696q-g9pq: SurrealDB has Denial of Service in JSON parser due to nested objects

July 1, 2026 (updated September 4, 2026)

The SurrealDB value and JSON parser did not enforce the configured recursion depth limit when parsing nested {, [, or ( tokens. The expression parser already enforced the limit for these tokens; the value/JSON parser omitted it. An unauthenticated attacker could send a deeply nested JSON payload to the WebSocket /rpc endpoint and exhaust server memory, crashing the process.

References

  • github.com/advisories/GHSA-q729-696q-g9pq
  • github.com/surrealdb/surrealdb/commit/1bd9826f477f4089134460dc5574b6f4e6916973
  • github.com/surrealdb/surrealdb/security/advisories/GHSA-q729-696q-g9pq
  • nvd.nist.gov/vuln/detail/CVE-2026-63760
  • www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-json-parser

Code Behaviors & Features

Detect and mitigate GHSA-q729-696q-g9pq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.1.0

Fixed versions

  • 3.1.0

Solution

Upgrade to version 3.1.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

cargo/surrealdb/GHSA-q729-696q-g9pq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:16 +0000.