Live threats

All CVEs / Surrealdb

CVE-2024-58362Surrealdb

High 8.7

Priority
52
CVSS 4.0
8.7
EPSS
0.6%
probability of exploitation in 30 days · percentile 45
Auth required
Yes
Published
Jul 18, 2026
Updated
Oct 27, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-75
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Surrealdb.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io surrealdb < 1.5.5 1.5.5 cargo update -p surrealdb --precise 1.5.5
crates.io surrealdb ≥ 2.0.0-beta.1 < 2.0.0-beta.3 2.0.0-beta.3 cargo update -p surrealdb --precise 2.0.0-beta.3
crates.io surrealdb-core < 1.5.2 1.5.2 cargo update -p surrealdb-core --precise 1.5.2

Per OSV / GitHub Advisories (GHSA-64f8-pjgr-9wmr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
surrealdbsurrealdb< 1.5.5
surrealdbsurrealdb2.0.0
surrealdbsurrealdb2.0.0

Official sources

References

Links published by the sources. Open them with care.