LearnCTEM.com, Best CTEM Learning Platform
CVE Intelligence Hub

CVE-2025-71392: Surrealdb Command Injection (CVSS 9.4)

CVE-2025-71392 is a critical severity command injection in Surrealdb with a CVSS score of 9.4. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Last updated: Sep 29, 2026

Quick answer

Direct answer

CVE-2025-71392 is a critical severity command injection in Surrealdb with a CVSS score of 9.4. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Risk scores

CVSS base score
9.4CRITICAL
EPSS probability
0.44%
Higher than 37 percent of all CVEs
CISA KEV
Not listed
CVSS metricWhat it means
Attack vector (AV:N)Network: reachable remotely
Attack complexity (AC:L)Low complexity
Attack requirements (AT:N)No attack requirements
Privileges required (PR:L)Low privileges required
User interaction (UI:P)Passive user interaction
Confidentiality (VC:H)High confidentiality impact
Integrity (VI:H)High integrity impact
Availability (VA:H)High availability impact

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

About Surrealdb

CVE-2025-71392 affects Surrealdb, a product from Surrealdb. Before acting, confirm where Surrealdb runs in your estate, who owns it and whether it is reachable from the internet, because exposure decides real risk more than the score alone.

What the flaw is

In plain terms: SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 fails to properly escape table and field names in the command-line export command. An authenticated System User with OWNER or EDITOR roles can create tables or fields with malicious names containing SurrealQL. When a higher-privileged user subsequently imports the exported backup, the injected SurrealQL executes, enabling privilege escalation and root-level takeover of the SurrealDB instance. Applications that let users define custom tables or fields are also exposed to a universal second-order SurrealQL injection even when query parameters are sanitized.

The weakness class is Command Injection. Untrusted input ends up inside a system command.

Based on its CVSS vector, the flaw can be reached over the network, needs some level of access, and relies on a user taking an action. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Affected versions and timeline

FieldDetail
ProductSurrealdb
Affected versionsSurrealdb before 2.0.5; Surrealdb from 2.1.0 before 2.1.5; Surrealdb from 2.2.0 before 2.2.2
PublishedJul 18, 2026
Last modifiedSep 29, 2026
Added to CISA KEVNot listed
Assigning CNAdisclosure@vulncheck.com

How to detect it

  • Inventory every instance of Surrealdb and record the running version against the affected range above.
  • Check external attack surface scans for internet facing instances of the component.
  • Review logs on affected systems for unusual requests, errors or new processes around the vulnerable function.
  • Confirm with an authenticated vulnerability scan once your scanner has a check for this CVE.

How to fix it

  • Apply the fixed version of Surrealdb named in the vendor advisory.
  • If patching must wait, restrict network access to the affected service and put it behind authentication or a web application firewall rule.
  • Rescan after the change to prove the exposure is gone, then close the ticket.

CTEM action plan

CTEM stageWhat to do for this CVE
ScopeAdd every business service that depends on Surrealdb to the current CTEM cycle.
DiscoverFind all instances, including shadow and cloud deployments, and record versions and exposure.
PrioritizeRank using EPSS and CVSS together with asset exposure and business impact.
ValidateConfirm the flaw is reachable and exploitable in your environment and that compensating controls work.
MobilizeAssign the fix to the asset owner with a due date matched to the priority, then verify closure.

CWE References

Technical References

Frequently asked questions

CVE-2025-71392 is a critical severity command injection in Surrealdb with a CVSS score of 9.4. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Related CVEs

HIGH7.5
CVE-2026-63763
Surrealdb

SurrealDB before 2.5.0 and before 3.0.0-beta.3 contains a confused deputy privilege escalation vulnerability. Unprivileged users (e.g., those with the database editor role) can create or modify fields containing futures, functions, or closures. Because these are executed in the context of the invoking/querying user rather than their creator, an attacker can plant malicious logic that executes with a higher-privileged user's permissions when that user reads or writes the affected record. This can lead to full privilege escalation, including creation of a root owner and server takeover.

Jul 20, 2026
CRITICAL10.0
CVE-2026-49199
Acer Predator Connect W6x Firmware

Crafted MQTT messages can trigger command injection, resulting in root-level code execution on the target device.

May 29, 2026
CRITICAL10.0
CVE-2025-15379
Lfprojects Mlflow

A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the `_install_model_dependencies_to_env()` function. When deploying a model with `env_manager=LOCAL`, MLflow reads dependency specifications from the model artifact's `python_env.yaml` file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model. The vulnerability affects versions 3.8.0 and is fixed in version 3.8.2.

Mar 30, 2026
CRITICAL10.0
CVE-2025-59818
Zenitel Tcis-3 Firmware

This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file name of an uploaded file.

Feb 4, 2026
CRITICAL10.0
CVE-2025-64090
Zenitel Tcis-3 Firmware

This vulnerability allows authenticated attackers to execute commands via the hostname of the device.

Jan 9, 2026
CRITICAL10.0
CVE-2025-64093
Zenitel Icx500 Firmware

Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the hostname of the device.

Jan 9, 2026
All Surrealdb CVEs in 2026
Your next credential

Earn your free CTEM certification.

Learn to scope, prioritize, validate and mobilize fixes for CVEs like CVE-2025-71392 with a free CTEM certification.

Free to takePublicly verifiable

Beginner / Practitioner / Program Leader

Explore certifications