CVE-2024-58367: SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions

Published Jul 18, 2026
·
Updated

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 Software

2 affected components
SurrealDB SurrealDB<2.0.4
SurrealDB SurrealDB<2.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SurrealDB to a version that resolves this vulnerability.

    Fixed in 2.0.4
  2. Compensating control

    For SurrealDB instances that are still on versions before 2.0.4, restrict access so that users who have access to SELECT permissions cannot reach queries that leverage field aliasing, function arguments, WHERE clause filtering, RETURN BEFORE clauses, or SET clause references to extract protected field contents.

Event History

Jul 18, 2026
CVE Published
via MITRE·01:10 PM
Data Sourced
via MITRE·01:10 PM
DescriptionWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-58367?

The severity of CVE-2024-58367 is classified as high with a score of 7.1.

2

How do I fix CVE-2024-58367?

To fix CVE-2024-58367, upgrade to SurrealDB version 2.0.4 or later.

3

What type of attack can be performed using CVE-2024-58367?

Using CVE-2024-58367, attackers can exploit improper authorization to access unauthorized field values during SELECT, UPDATE, and DELETE operations.

4

Which versions of SurrealDB are affected by CVE-2024-58367?

CVE-2024-58367 affects all versions of SurrealDB prior to 2.0.4.

5

What kind of vulnerabilities does CVE-2024-58367 present for users?

CVE-2024-58367 presents vulnerabilities that allow authorized users to access unauthorized data, compromising data integrity and confidentiality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203