CVE-2024-58366

published 18 Jul 2026 · updated 29 Oct 2026

SurrealDB before 1.1.1 Format String via Scripting Functions

8.5HighCVSS 8.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.4.2 and 1.1.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
DelSkayn<0.4.20.4.2
surrealdb<1.1.11.1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58366 severity on Zeptric[![CVE-2024-58366](https://zeptric.io/badge/cve/CVE-2024-58366.svg)](https://zeptric.io/cve/CVE-2024-58366)