Security mailing lists by PureSourceCode

CVE-2024-58362

HIGH 8.7CVSS 4.0

Untrusted Query Object Evaluation in RPC API

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

Published
18 Jul 2026
Last modified
27 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Analyzed
Weakness
CWE-75
Also known as
GHSA-64f8-pjgr-9wmrGHSA-xw2c-hrr9-4xwr
Sources
NVDJSONOSV GHSA-64f8-pjgr-9wmrJSONOSV GHSA-xw2c-hrr9-4xwrJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 HIGH 8.7 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
OSV GitHub CVSS 4.0 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
OSV GitHub CVSS 4.0 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
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
< 1.5.5 1.5.5
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:2.0.0:beta1:*:*:*:*:*:*
= 2.0.0
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:2.0.0:beta2:*:*:*:*:*:*
= 2.0.0
OSV crates.io surrealdb < 1.5.5 1.5.5
OSV crates.io surrealdb-core < 1.5.2 1.5.2
OSV crates.io surrealdb >= 2.0.0-beta.1, < 2.0.0-beta.3 2.0.0-beta.3
OSV crates.io surrealdb all versions

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.