๐Ÿ” CVE Alert

CVE-2024-58362

HIGH 8.8

SurrealDB before 1.5.5 Query Injection via RPC API

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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

CWE CWE-75
Vendor surrealdb
Product surrealdb
Published Jul 18, 2026
Stay Ahead of the Next One

Get instant alerts for surrealdb surrealdb

Be the first to know when new high vulnerabilities affecting surrealdb surrealdb are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

surrealdb / surrealdb
0 < 1.5.5, 2.0.0-beta.3
surrealdb / surrealdb
0 < 1.5.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/surrealdb/surrealdb/security/advisories/GHSA-64f8-pjgr-9wmr vulncheck.com: https://www.vulncheck.com/advisories/surrealdb-before-query-injection-via-rpc-api

Credits

๐Ÿ” RaphaelDarley