CVE-2024-58367

published 18 Jul 2026 · updated 28 Jul 2026

SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.0.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
surrealdb<2.0.42.0.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58367 severity on Zeptric[![CVE-2024-58367](https://zeptric.io/badge/cve/CVE-2024-58367.svg)](https://zeptric.io/cve/CVE-2024-58367)