Vulnary
← back to the feed
Critical· 9.4official fix available

CVE-2025-71392

SurrealDB fails to properly escape table and field names during the command-line export process. This allows an attacker to inject malicious commands into these names, which execute when a higher-privileged user imports the exported data.

publishedJul 18, 2026
last modifiedJul 21, 2026
sourcesNVD
severity · cvss
9.4
critical · how bad it is
exploitation · epss
<1%
16th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Sep 1, 2026

No official fix yet. If none appears within 45 days of first tracking, this entry is removed automatically.

01

Who is affected

Users of SurrealDB versions before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2, particularly those running applications that allow users to define custom tables or fields.

02

Real-world impact

An attacker with basic editor permissions can escalate their privileges to gain full root-level control over the entire database instance.

03

Why this severity

The critical score reflects that an attacker can achieve full system takeover by exploiting a flaw in how the database handles exported data.

04

What to do about it

official fix available
recommended steps
  1. 01Update to SurrealDB version 2.0.5, 2.1.5, or 2.2.2 or later.

NVD description

05

Timeline

  1. Jul 18, 2026 · 15d ago
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 21, 2026 · 12d ago
    Advisory updated
    The NVD record was last revised.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Attack requirementsNone
Privileges requiredLow
User interactionPassive
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →