CVE-2024-58362

SurrealDB before 1.5.5 Query Injection via RPC API

HIGH
8.8
CVSS Score
Published: July 18, 2026 at 01:10 PM UTC
Updated: August 12, 2026 at 06:58 PM UTC
1 product affected across 1 vendorSurrealdb

Using surrealdb by surrealdb?

Get instant alerts when new vulnerabilities affect surrealdb - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.5.2v < 1.5.52.0.0-beta.1 ≤ v < 2.0.0-beta.32.0.0 beta12.0.0 beta22.0.0-beta.1
Vendor states this is fixed in 1.5.2 (unaffected)
Vendor states this is fixed in 1.5.5 (unaffected)
Vendor states this is fixed in 2.0.0-beta.3 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHVulnCheck
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-75

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card