SEVERITY AND EXPLOITATION CONTEXT

CVE-2025-71392: SurrealDB before 2.2.2 SurrealQL Injection via export

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

SurrealDB before 2.2.2 SurrealQL Injection via export

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.

Published CVE snapshot: 2026-10-22. Record last updated: 2026-10-08T15:21:28.130Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

VulnCheck · CVSS 4.0: 9.4 Critical

Calculated from the published vector. Base score: 9.4. Provider-reported Base score: 9.4.

Vector and metric explanationsCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
MetricValueMeaning
Attack vector (AV)NReachable across a network boundary, including internet or routed network paths.
Attack complexity (AC)LThere is no specific security-enhancing condition that the attacker must overcome.
Attack requirements (AT)NNo particular deployment or execution prerequisite is needed.
Privileges required (PR)LThe attacker needs basic user capabilities before exploitation.
User interaction (UI)PA targeted user interacts in a limited or involuntary way, such as rendering attacker-controlled content.
Confidentiality (VC)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (VI)HIntegrity is completely lost, or modification has a direct, serious consequence.
Availability (VA)HAvailability is completely lost, or the disruption has a direct, serious consequence.
Confidentiality (SC)HHigh impact is established in a system beyond the vulnerable system. Document the affected system and consequence.
Integrity (SI)HHigh impact is established in a system beyond the vulnerable system. Document the affected system and consequence.
Availability (SA)HHigh impact is established in a system beyond the vulnerable system. Document the affected system and consequence.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • surrealdb · surrealdb
  • surrealdb · surrealdb
  • surrealdb · surrealdb

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (2)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2025 · All published CVEs · Calculation methodology