CVE-2024-58366

High

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.

SeverityHigh
CVSS8.5
Exploit probability—
ProductDelskayn Rquickjs
PublishedJul 18, 2026
First seenJul 18, 2026
Weakness typeCWE-134CWE-134

How to fix

Update
  • delskayn rquickjs0.4.2 or later
  • surrealdb surrealdb1.1.1 or later

Affected products

ProductAffected versionsFixed in
delskayn rquickjsv < 0.4.20.4.2
surrealdb surrealdbv < 1.1.11.1.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.