CVE-2024-58367

Medium

Description

SurrealDB versions before 2.0.4 fail to properly enforce field permissions during SELECT, UPDATE, and DELETE operations, allowing authorized users to access unauthorized field values through various query techniques. Attackers can exploit SELECT VALUE operations, field aliasing, function arguments, WHERE clause filtering, RETURN BEFORE clauses, and SET clause references to leak protected field contents despite lacking SELECT permissions.

SeverityMedium
CVSS6.5
Exploit probability—
ProductSurrealdb
PublishedJul 18, 2026
First seenJul 18, 2026
Weakness typeCWE-285CWE-285

How to fix

Update
  • surrealdb surrealdb2.0.4 or later

Affected products

ProductAffected versionsFixed in
surrealdb surrealdbv < 2.0.42.0.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.