CVE-2025-71391: SurrealDB before 2.2.2 Denial of Service via /sql endpoint

Published Jul 18, 2026
·
Updated

SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. Attackers can send crafted HTTP queries containing null bytes to the /sql endpoint, causing an unhandled exception that crashes the SurrealDB instance and any dependent applications.

Affected Software

2 affected components
SurrealDB SurrealDB<2.2.2
SurrealDB SurrealDB<2.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SurrealDB to a version that resolves this vulnerability.

    Fixed in 2.2.2
  2. Compensating control

    If immediate upgrade to SurrealDB 2.2.2 is not possible, restrict access to the /sql endpoint to trusted authenticated users (e.g., via network/ACL/WAF) to reduce the ability of authenticated attackers to send crafted null-byte HTTP queries.

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-2025-71391?

CVE-2025-71391 has a severity rating of high, with a CVSS score of 7.1.

2

How do I fix CVE-2025-71391?

To fix CVE-2025-71391, upgrade SurrealDB to version 2.2.2 or later.

3

What type of vulnerability is CVE-2025-71391?

CVE-2025-71391 is a Denial of Service vulnerability affecting SurrealDB.

4

Who is affected by CVE-2025-71391?

Authenticated users of SurrealDB versions before 2.2.2 are affected by CVE-2025-71391.

5

What exploit is associated with CVE-2025-71391?

CVE-2025-71391 can be exploited by sending crafted HTTP queries containing null bytes to the /sql endpoint.

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