CVE-2024-58362
Published:July 18, 2026
Updated:August 06, 2026
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).
Affected Packages
https://github.com/surrealdb/surrealdb.git (GITHUB):
Affected version(s) >=v0.1.0 <v1.5.5Fix Suggestion:
Update to version v1.5.5https://github.com/surrealdb/surrealdb.git (GITHUB):
Affected version(s) >=v2.0.0-beta.1 <v2.0.0-beta.3Fix Suggestion:
Update to version v2.0.0-beta.3surrealdb (RUST):
Affected version(s) >=1.0.0-beta.1 <1.5.5Fix Suggestion:
Update to version 1.5.5surrealdb-core (RUST):
Affected version(s) >=1.1.1 <1.5.2Fix Suggestion:
Update to version 1.5.2Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)
EPSS
Base Score:
0.37