CVE-2024-58362Surrealdb
High 8.7
Follow: this CVE · Surrealdb · Surrealdb We alert you by email or Slack (account required).
- 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).
What to do
- Apply the vendor's security update for Surrealdb.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | < 1.5.5 |
| surrealdb | surrealdb | 2.0.0 |
| surrealdb | surrealdb | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- www.vulncheck.com Third Party Advisory