SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. (CVE-2025-71391)
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.
AI Analysis
Technical Summary
CVE-2025-71391 describes an uncaught exception vulnerability in SurrealDB's net module affecting versions prior to 2.2.2. Authenticated attackers can exploit this by sending HTTP requests with null bytes to the /sql endpoint, triggering an unhandled exception that crashes the database process. This results in a denial of service condition impacting the availability of SurrealDB and any applications relying on it.
Potential Impact
Successful exploitation causes the SurrealDB instance to crash, leading to denial of service. Dependent applications may also be disrupted due to the database unavailability. No data corruption or unauthorized access is described.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the /sql endpoint to trusted authenticated users only and monitor for unusual request patterns containing null bytes.
SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. (CVE-2025-71391)
Description
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.
CVSS v4.0
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-2025-71391 describes an uncaught exception vulnerability in SurrealDB's net module affecting versions prior to 2.2.2. Authenticated attackers can exploit this by sending HTTP requests with null bytes to the /sql endpoint, triggering an unhandled exception that crashes the database process. This results in a denial of service condition impacting the availability of SurrealDB and any applications relying on it.
Potential Impact
Successful exploitation causes the SurrealDB instance to crash, leading to denial of service. Dependent applications may also be disrupted due to the database unavailability. No data corruption or unauthorized access is described.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the /sql endpoint to trusted authenticated users only and monitor for unusual request patterns containing null bytes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-x3fg-mm84-q54h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-71391"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a5ba17c44ab8fbf7c789a93
Added to database: 07/18/2026, 15:53:32 UTC
Last enriched: 07/18/2026, 16:21:29 UTC
Last updated: 07/18/2026, 20:23:40 UTC
Views: 9
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.