Surrealdb: Duplicate Advisory: Improper Authorization in Select Permissions
Description
SurrealDB versions before 2.0.4 have an authorization vulnerability where field permissions are not properly enforced during SELECT, UPDATE, and DELETE operations. This allows authorized users to access field values they should not be permitted to see by exploiting various query techniques such as SELECT VALUE operations, field aliasing, and WHERE clause filtering. The vulnerability enables leakage of protected field contents despite lacking explicit SELECT permissions.
CVSS v3.1
Score 6.5medium
Affected software
pkg:github/surrealdb/surrealdbRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-58367 affects SurrealDB versions prior to 2.0.4. The database fails to enforce field-level permissions correctly during SELECT, UPDATE, and DELETE queries. Attackers with some level of authorization can bypass these restrictions using query techniques including SELECT VALUE operations, field aliasing, function arguments, WHERE clause filtering, RETURN BEFORE clauses, and SET clause references to access unauthorized field data. This improper authorization issue is classified under CWE-285.
Potential Impact
The vulnerability allows authorized users to access sensitive field data they are not permitted to view, resulting in a confidentiality breach. The CVSS 3.1 base score is 6.5 (High), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high confidentiality impact with no integrity or availability impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available in SurrealDB version 2.0.4. Users should upgrade to version 2.0.4 or later to remediate this improper authorization vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-j9rh-f527-3x87
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2024-58367"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a5ba17e44ab8fbf7c789b92
Added to database: 07/18/2026, 15:53:34 UTC
Last enriched: 09/12/2026, 11:02:31 UTC
Last updated: 10/13/2026, 18:48:11 UTC
Views: 142
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.