CVE-2024-58366
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.
- Score
- CVSS 4.0 9.0 Critical
- Status
- Analyzed - disclosure@vulncheck.com
- Published
- 2026-07-18
- Last modified
- 2026-10-27
- Weaknesses
- CWE-134
Affected products
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q3gg-m8hr-h4x4
- https://www.vulncheck.com/advisories/surrealdb-before-format-string-via-scripting-functions