CVE-2024-58366Published Jul 18, 2026 · Jul 18Updated Oct 31
SurrealDB before 1.1.1 Format String via Scripting Functions
surrealdb · DelSkayn rquickjs
Critical9.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| surrealdb crates.io |
|
|
Original 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.
From the CVE record · VulnCheck