Medium severity6.5NVD Advisory· Published Jul 18, 2026· Updated Aug 13, 2026
CVE-2024-58367
CVE-2024-58367
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
surrealdbcrates.io | < 2.0.4 | 2.0.4 |
surrealdb-corecrates.io | < 2.0.4 | 2.0.4 |
Affected products
2Patches
Vulnerability mechanics
References
15- github.com/advisories/GHSA-9722-9j67-vjcrghsaADVISORY
- github.com/surrealdb/surrealdb/security/advisories/GHSA-9722-9j67-vjcrnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2024-58367ghsaADVISORY
- www.vulncheck.com/advisories/surrealdb-before-improper-authorization-via-select-permissionsnvdThird Party AdvisoryWEB
- github.com/surrealdb/surrealdb/commit/439ab99e15314ec5cf87047bf58246db646e3f8cghsaWEB
- github.com/surrealdb/surrealdb/commit/c382fa158dc84b329328606f663efe574f102a7dghsaWEB
- github.com/surrealdb/surrealdb/commit/e75e7736b3a028c4b6a4a4bdf00791d76f77e339ghsaWEB
- github.com/surrealdb/surrealdb/issues/2161ghsaWEB
- github.com/surrealdb/surrealdb/issues/3924ghsaWEB
- github.com/surrealdb/surrealdb/pull/4785ghsaWEB
- github.com/surrealdb/surrealdb/pull/4800ghsaWEB
- github.com/surrealdb/surrealdb/pull/4873ghsaWEB
- surrealdb.com/docs/surrealdb/security/summaryghsaWEB
- surrealdb.com/docs/surrealql/statements/define/fieldghsaWEB
- surrealdb.com/docs/surrealql/statements/define/tableghsaWEB
News mentions
0No linked articles in our index yet.