CVE-2024-58362

High

Description

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

SeverityHigh
CVSS8.8
Exploit probability—
ProductSurrealdb
PublishedJul 18, 2026
First seenJul 18, 2026
Weakness typeCWE-75CWE-75

How to fix

Update
  • surrealdb surrealdb1.5.5 or later

Affected products

ProductAffected versionsFixed in
surrealdb surrealdbv < 1.5.5, 2.0.01.5.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.