Read the docs
TI-2024-38450 Aliases CVE-2024-58366GHSA-qcfm-cmfw-f4x4

SurrealDB before 1.1.1 Format String via Scripting Functions

Priority MEDIUM 42CWE-134Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-134 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00575 47th percentileScored 2026-11-07
Fix Fixed surrealdb (surrealdb): 1.1.1rquickjs (DelSkayn): 0.4.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
surrealdbsurrealdbbefore 1.1.11.1.1Patch availableCNA
DelSkaynrquickjsbefore 0.4.20.4.2Patch availableCNA
  • surrealdb Vendorsurrealdb Affected before 1.1.1 Fixed in 1.1.1 Patch available CNA
  • rquickjs VendorDelSkayn Affected before 0.4.2 Fixed in 0.4.2 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:delskayn:rquickjs:*:*:*:*:*:rust:*:*before 0.4.2VulnerableDelSkayn
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*before 1.1.1Vulnerablesurrealdb
  • cpe:2.3:a:delskayn:rquickjs:*:*:*:*:*:rust:*:* Versions before 0.4.2 Vulnerable ·DelSkayn
  • cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* Versions before 1.1.1 Vulnerable ·surrealdb

Remediation

  • Fix · CNA surrealdb (surrealdb) Fixed in 1.1.1
  • Fix · CNA rquickjs (DelSkayn) Fixed in 0.4.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    surrealdb 1.1.1

    2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2024-38453 SurrealDB before 1.1.1 Denial of Service via Global ParametersPriority LOW 32

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-58366
  2. 2026-10-03 Alias added: GHSA-qcfm-cmfw-f4x4
  3. 2026-10-29 Fix available: DelSkayn/[email protected] · CNA

References

  • TI-2026-45344 SurrealDB before 3.1.0 Session Hijacking via /rpc sessions CVSS 4.0HIGH 8.7
  • TI-2024-38452 SurrealDB before 1.1.0 Denial of Service via HTTP Headers CVSS 4.0HIGH 8.7
  • TI-2026-45347 SurrealDB before 3.1.0 Denial of Service via JSON Parser CVSS 4.0HIGH 8.7
  • TI-2026-45334 SurrealDB before 3.1.0 Denial of Service via malformed RPC use CVSS 4.0HIGH 8.7
  • TI-2025-43508 SurrealDB before 2.2.2 SurrealQL Injection via export CVSS 4.0CRITICAL 9.4
  • TI-2026-45343 SurrealDB before 3.1.0 Privilege Escalation via RPC Session Race Condition CVSS 4.0CRITICAL 9.2
See all 54 →

Sources