Auth bypass in Surrealdb
CVE-2024-58367
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (28.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 28th percentile — 28.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.004 · change: +0.001
Affected products
- Surrealdb — versions 0, 2.0.4
Weakness classification (CWE)
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-9722-9j67-vjcr (vendor-advisory, Vendor Advisory)
- www.vulncheck.com/advisories/surrealdb-before-improper-authorization-via-select… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2024-58367?
- CVE-2024-58367 is a medium-severity vulnerability in Surrealdb, classified under Improper Authorization. CVSS score: 6.5/10. Published 2026-07-18.
- How severe is CVE-2024-58367?
- Medium severity. CVSS v3 base score is 6.5 out of 10.