{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-58362","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-07-18T12:40:52.916Z","datePublished":"2026-07-18T13:10:04.263Z","dateUpdated":"2026-07-28T01:47:49.887Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-07-28T01:47:49.887Z"},"datePublic":"2024-09-11T00:00:00.000Z","title":"SurrealDB before 1.5.5 Query Injection via RPC API","descriptions":[{"lang":"en","value":"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)."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)","cweId":"CWE-75","type":"CWE"}]}],"affected":[{"vendor":"surrealdb","product":"surrealdb","defaultStatus":"unaffected","packageURL":"pkg:cargo/surrealdb","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"1.5.5"},{"version":"1.5.5","status":"unaffected","versionType":"semver"},{"version":"2.0.0-beta.1","status":"affected","versionType":"semver","lessThan":"2.0.0-beta.3"},{"version":"2.0.0-beta.3","status":"unaffected","versionType":"semver"}]},{"vendor":"surrealdb","product":"surrealdb","defaultStatus":"unaffected","packageURL":"pkg:cargo/surrealdb-core","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"1.5.2"},{"version":"1.5.2","status":"unaffected","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","versionEndExcluding":"1.5.5"},{"vulnerable":true,"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0-beta.1","versionEndExcluding":"2.0.0-beta.3"},{"vulnerable":true,"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","versionEndExcluding":"1.5.2"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"}}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-64f8-pjgr-9wmr","name":"GitHub Security Advisory (GHSA-64f8-pjgr-9wmr)","tags":["vendor-advisory"]},{"name":"VulnCheck Advisory: SurrealDB before 1.5.5 Query Injection via RPC API","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/surrealdb-before-query-injection-via-rpc-api"}],"credits":[{"lang":"en","value":"RaphaelDarley","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-20T17:26:21.922837Z","id":"CVE-2024-58362","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-20T17:26:40.812Z"}}]}}