CVE-2024-58366

Severity CVSS v4.0:
CRITICAL
Type:
CWE-134 Format String Vulnerability
Publication date:
18/07/2026
Last modified:
21/07/2026

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.