> CVE-2025-71392 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-07-18 14:17
MODIFIED
2026-07-18 14:17
CVSS_SCORE V3
9.4
EPSS (Prob. Exploit)
0.44%
Top 61.5%
DATA SOURCES:
NVD 🔗 2026-07-18 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 GITHUB 🔗 2026-10-29 OSV 🔗 2026-11-02

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
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

> MÉTRIQUES CVSS DÉTAILLÉES

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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Unknown (P)
Interaction inconnue
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-77

> CWE DETAILED DESCRIPTIONS

CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

> GITHUB SECURITY ADVISORY

GHSA-ccj3-5p93-8p42 CRITICAL

SurrealDB server-takeover via SurrealQL injection on backup import

AFFECTED PACKAGES:
RUST / surrealdb
< 2.0.5
Fixed in: 2.0.5
RUST / surrealdb
>= 2.1.0, < 2.1.5
Fixed in: 2.1.5
RUST / surrealdb
>= 2.2.0, < 2.2.2
Fixed in: 2.2.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

SurrealDB before 2.2.2 SurrealQL Injection via export

AFFECTED PACKAGES:
Unknown / Unknown
70 versions affected
ALIASES:
GHSA-ccj3-5p93-8p42

> HISTORIQUE DES MODIFICATIONS

Première apparition
18/07/2026 14:17
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not ne...
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ccj3-5p93-8p42
https://www.vulncheck.com/advisories/surrealdb-before-surrealql-injection-via-ex...
« BACK_TO_HOME