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.
CVE-2024-58366
Score 8.5 from GitHub Security Advisory (severity: CRITICAL) published 2026-07-18. a secondary CVSS source baseline 8.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.5
- EG Score
- 8.5(high)
- EG Risk
- 38(Track)EG Risk 38/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity85% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 22%
- KEV
- Not listed
Published
July 18, 2026
Last Modified
July 21, 2026
Advisory Details (2)
Auto-updated Jul 18, 2026SurrealDB before 1.1.1 Format String via Scripting Functions | Advisories | VulnCheck
https://www.vulncheck.com/advisories/surrealdb-before-format-string-via-scripting-functionsExternally Controlled Format String in Scripting Functions · Advisory · surrealdb/surrealdb · GitHub
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q3gg-m8hr-h4x4Vendor Advisories for CVE-2024-58366(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
crates.io(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| surrealdb | — | 1.1.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 18× in last 7d / 24× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-27 00:30 UTCEG score recompute
- 2026-07-27 00:29 UTCGHSA enrichment
- 2026-07-26 14:53 UTCEPSS rescore
- 2026-07-26 11:17 UTCEG score recompute
- 2026-07-26 11:17 UTCGHSA enrichment
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 02:45 UTCEG score recompute
- 2026-07-22 23:58 UTCEG score recompute
- 2026-07-22 23:58 UTCGHSA enrichment
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:52 UTCEG score recompute
- 2026-07-20 17:52 UTCGHSA enrichment
- 2026-07-20 17:07 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-18 16:07 UTCEG score recompute
- 2026-07-18 16:06 UTCGHSA enrichment
- 2026-07-18 13:40 UTCEG score recompute
- 2026-07-18 13:39 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-134
- CVE-2008-7228EG 10.0HIGH
- CVE-2009-1210EG 10.0EPSS p96HIGH
- CVE-2008-6520EG 10.0EPSS p91HIGH
- CVE-2008-6519EG 10.0EPSS p92HIGH
- CVE-2008-5982EG 10.0EPSS p94HIGH
- CVE-2008-3533EG 10.0EPSS p97HIGH
- CVE-2008-3116EG 10.0EPSS p92HIGH
- CVE-2008-0764EG 10.0EPSS p94HIGH
- CVE-2007-5561EG 10.0EPSS p94HIGH
- CVE-2007-1006EG 10.0HIGH
Frequently asked(5)
What is CVE-2024-58366?
When was CVE-2024-58366 disclosed?
Is CVE-2024-58366 actively exploited?
What is the CVSS score of CVE-2024-58366?
How do I remediate CVE-2024-58366?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-58366
Is Your Infrastructure Affected by CVE-2024-58366?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.