CVE-2024-58362

HIGH CVSS 4.0: 8.7 EPSS 0.64%
Updated Oct 27, 2026
Surrealdb
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions before 1.5.5
Fixed In 1.5.5
Type CWE-75
Vendor Surrealdb
Public PoC No

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).

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Surrealdb Surrealdb
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
— 1.5.5
Surrealdb Surrealdb
cpe:2.3:a:surrealdb:surrealdb:2.0.0:beta1:*:*:*:*:*:*
— —
Surrealdb Surrealdb
cpe:2.3:a:surrealdb:surrealdb:2.0.0:beta2:*:*:*:*:*:*
— —