CVE-2024-58366 CRITICAL

CVE-2024-58366: SurrealDB before 1.1.1 Format String via Scripting Functions

Vendor Surrealdb
Product surrealdb
Weakness CWE-134
Published July 18, 2026
Last update July 20, 2026

CVSS base score

9.0/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 18, 2026 CVE published
July 20, 2026 Record updated