Vulnerability · Published Jul 18, 2026 · Assigned by VulnCheck
CVE-2024-58366SurrealDB before 1.1.1 Format String via Scripting Functions
High 8.5
In plain English
A high-severity security flaw in rquickjs from DelSkayn. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).
Severity (CVSS 3.1)8.5High
Exploit odds (30 days)0.6%top 52.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throw_type function when scripting is enabled. Attackers with scripting privileges can supply format string sequences in error inputs to read arbitrary memory or execute code with SurrealDB process privileges.
Affected products (as reported)
Weakness: CWE-134 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-q3gg-m8hr-h4x4) vendor-advisory
- VulnCheck Advisory: SurrealDB before 1.1.1 Format String via Scripting Functions third-party-advisory