LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

An authenticated user can send a specially crafted request to SurrealDB’s /sql endpoint and crash the database. This can interrupt every application relying on that instance. The issue affects SurrealDB releases before 2.2.2 and threatens availability, not data confidentiality or integrity, according to the supplied CVSS assessment.

Executive priority

Prioritize remediation for production instances supporting critical applications, especially when /sql is internet-accessible or available to less-trusted users. Schedule prompt upgrades and temporary access restrictions. Lower-exposure internal systems still require inventory and planned remediation because a single authenticated request can disrupt dependent services.

Technical view

CVE-2025-71391 is a CWE-248 uncaught-exception flaw in SurrealDB’s net module. A crafted HTTP query containing null bytes can trigger an unhandled exception through /sql, terminating the instance. CVSS 4.0 rates it 7.1: network-accessible, low complexity, low privileges, no user interaction, and high vulnerable-system availability impact.

Likely exposure

Exposure requires SurrealDB before 2.2.2, an accessible /sql endpoint, and valid authentication. Internet-accessible or broadly reachable deployments, shared credentials, and untrusted authenticated users increase practical risk. The supplied version metadata is internally ambiguous, so inventory results should be checked against the vendor advisory.

Exploitation context

The supplied bundle does not identify this CVE as CISA KEV and provides no evidence of active exploitation. Exploitation requires authentication but is otherwise described as network-accessible and low complexity. Treat exposed instances as credible denial-of-service targets without assuming compromise or data theft.

Researcher notes

The supplied structured affected-version entries are ambiguous and list multiple ranges with defaultStatus set to unaffected, while the title and description state versions before 2.2.2 are vulnerable. Confirm branch-specific applicability through the vendor advisory. No confidentiality or integrity impact, public exploitation, or additional affected products is established by the bundle.

Mitigation direction

  • Upgrade affected SurrealDB instances to version 2.2.2 or later after reviewing the vendor advisory.
  • Restrict /sql endpoint access to trusted networks and necessary authenticated users.
  • Rotate or revoke credentials that may be shared, exposed, or no longer required.
  • Use service supervision and availability monitoring to reduce outage duration while upgrades are pending.

Validation and detection

  • Inventory SurrealDB versions and identify every instance running a release earlier than 2.2.2.
  • Confirm which networks, applications, and authenticated users can reach each /sql endpoint.
  • Review authentication and request logs for unusual /sql activity and correlated unexpected restarts.
  • Verify upgraded instances report version 2.2.2 or later and dependent applications remain healthy.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-248: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-71391 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.1 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
3Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.1CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

7.1High
CVSS 4.0 vector shape for CVE-2025-71391Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
surrealdbsurrealdb0, 2.2.2unaffected
surrealdbsurrealdb0, 2.1.5unaffected
surrealdbsurrealdb0, 2.0.5unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.