CVE-2024-58367

SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions

State
Published
Severity
7.1 High
Published
Jul 18, 2026
Updated
Jul 28, 2026
Reserved
Jul 18, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck

Weaknesses

Affected Products

ProductVersions
surrealdbsurrealdb
  • before 2.0.4Affected
  • 2.0.4Not affected
surrealdbsurrealdb
  • before 2.0.4Affected
  • 2.0.4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.