CVE-2024-58362CWE-75

CVE-2024-58362

High · published July 18, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
48.2
In the wild
Unconfirmed
What it is

SurrealDB before 1.5.5 (and 2.0.0-beta before 2.0.0-beta.3) accepts an arbitrary object in the signin and signup operations of the RPC API without recursively validating it for non-computed values. When a record access method defines a SIGNIN or SIGNUP query and the RPC API is exposed to untrusted users, an unauthenticated attacker can encode a binary object containing a subquery using the bincode serialization format and supply it in place of credentials. The subquery is then executed within the database owner's SIGNIN/SIGNUP query under a system user session with the editor role, allowing the attacker to select, create, update, and delete non-IAM resources (though not view the query results directly, and not affect IAM resources, which require the owner role).

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00636 · 48.2th percentile
Weakness
CWE-75 · Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)
Published
2026-07-18T18:17Z
Affected products (3)
ProductVersionsFixed in
surrealdb/surrealdb< 1.5.51.5.5
surrealdb/surrealdball versions
surrealdb/surrealdball versions
References (2)
EPSS history
Timeline
  • 18 JUL 13:10Z
    SurrealDB before 1.5.5 Query Injection via RPC API
    cvelistv5