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.
CVE-2025-71392
Score 8.0 from GitHub Security Advisory (severity: CRITICAL) published 2026-07-18. NVD baseline CVSS 8.0; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.0
- EG Score
- 8.0(medium)
- EG Risk
- 36(Track)EG Risk 36/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity80% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 15%
- KEV
- Not listed
Published
July 18, 2026
Last Modified
August 13, 2026
Advisory Details (2)
Auto-updated Jul 31, 2026SurrealDB before 2.2.2 SurrealQL Injection via export | Advisories | VulnCheck
https://www.vulncheck.com/advisories/surrealdb-before-surrealql-injection-via-exportServer-takeover via SurrealQL injection on backup import · Advisory · surrealdb/surrealdb · GitHub
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ccj3-5p93-8p42Vendor Advisories for CVE-2025-71392(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
crates.io(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| surrealdb | — | 2.0.5 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 81× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 236 total refreshes for this CVE.
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-11 09:36 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 23:58 UTCEG score recompute
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-05 20:25 UTCEG score recompute
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-08-31 05:14 UTCEG score recompute
- 2026-08-31 05:14 UTCGHSA enrichment
- 2026-08-30 16:10 UTCGHSA enrichment
- 2026-08-30 03:10 UTCEG score recompute
- 2026-08-30 03:10 UTCGHSA enrichment
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:40 UTCEPSS rescore
- 2026-08-27 21:25 UTCEG score recompute
- 2026-08-27 21:25 UTCGHSA enrichment
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-27 03:58 UTCGHSA enrichment
- 2026-08-26 14:57 UTCEG score recompute
- 2026-08-26 14:57 UTCGHSA enrichment
- 2026-08-26 14:45 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-26 01:51 UTCEG score recompute
- 2026-08-26 01:51 UTCGHSA enrichment
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-25 12:51 UTCGHSA enrichment
- 2026-08-24 23:50 UTCEG score recompute
- 2026-08-24 23:50 UTCGHSA enrichment
- 2026-08-24 14:16 UTCEPSS rescore
- 2026-08-24 10:50 UTCEG score recompute
- 2026-08-24 10:50 UTCGHSA enrichment
- 2026-08-23 21:50 UTCGHSA enrichment
- 2026-08-23 08:50 UTCEG score recompute
- 2026-08-23 08:50 UTCGHSA enrichment
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-22 19:51 UTCGHSA enrichment
- 2026-08-22 06:51 UTCEG score recompute
- 2026-08-22 06:51 UTCGHSA enrichment
- 2026-08-21 23:48 UTCEPSS rescore
- 2026-08-21 17:51 UTCGHSA enrichment
- 2026-08-21 04:51 UTCEG score recompute
- 2026-08-21 04:51 UTCGHSA enrichment
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 15:51 UTCGHSA enrichment
- 2026-08-20 02:52 UTCEG score recompute
- 2026-08-20 02:51 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 13:42 UTCGHSA enrichment
- 2026-08-19 00:41 UTCEG score recompute
- 2026-08-19 00:40 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 11:38 UTCGHSA enrichment
- 2026-08-17 22:38 UTCEG score recompute
- 2026-08-17 22:38 UTCGHSA enrichment
- 2026-08-17 13:46 UTCEPSS rescore
- 2026-08-17 09:35 UTCGHSA enrichment
- 2026-08-16 20:36 UTCEG score recompute
- 2026-08-16 20:36 UTCGHSA enrichment
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 07:36 UTCEG score recompute
- 2026-08-16 07:36 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 18:37 UTCGHSA enrichment
- 2026-08-15 05:37 UTCEG score recompute
- 2026-08-15 05:37 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 16:37 UTCGHSA enrichment
- 2026-08-14 03:35 UTCEG score recompute
- 2026-08-14 03:35 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 14:35 UTCEG score recompute▼ 1.40
- 2026-08-13 14:35 UTCGHSA enrichment
- 2026-08-13 14:35 UTCNVD updateCVSS v3 → 8 · severity → HIGH
- 2026-08-13 14:18 UTCGHSA enrichment
- 2026-08-13 10:14 UTCGHSA enrichment
- 2026-08-13 06:10 UTCGHSA enrichment
- 2026-08-13 02:05 UTCGHSA enrichment
- 2026-08-12 22:01 UTCGHSA enrichment
- 2026-08-12 17:57 UTCGHSA enrichment
- 2026-08-12 13:53 UTCEG score recompute
- 2026-08-12 13:53 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 09:49 UTCGHSA enrichment
- 2026-08-12 05:44 UTCGHSA enrichment
- 2026-08-12 01:40 UTCGHSA enrichment
- 2026-08-11 21:36 UTCGHSA enrichment
- 2026-08-11 17:32 UTCEG score recompute
- 2026-08-11 17:31 UTCGHSA enrichment
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 13:26 UTCGHSA enrichment
- 2026-08-11 09:17 UTCGHSA enrichment
- 2026-08-11 05:13 UTCGHSA enrichment
- 2026-08-11 01:09 UTCEG score recompute
- 2026-08-11 01:09 UTCGHSA enrichment
- 2026-08-10 23:59 UTCEPSS rescore
- 2026-08-10 21:05 UTCGHSA enrichment
- 2026-08-10 17:01 UTCGHSA enrichment
Related CVEs(same CWE)
Same CWE
10 shownCWE-77
- CVE-2015-7541EG 10.0CRITICAL
- CVE-2015-1815EG 10.0EPSS p97HIGH
- CVE-2014-1905EG 10.0EPSS p95HIGH
- CVE-2013-2810EG 10.0EPSS p93HIGH
- CVE-2014-5470EG 9.8EPSS p95CRITICAL
- CVE-2013-2513EG 9.8CRITICAL
- CVE-2015-20108EG 9.8CRITICAL
- CVE-2015-10096NVD 5.0EG 9.8CRITICAL
- CVE-2015-20107NVD 7.6EG 9.8EPSS p94CRITICAL
- CVE-2014-4982EG 9.8EPSS p91CRITICAL
Frequently asked(5)
What is CVE-2025-71392?
When was CVE-2025-71392 disclosed?
Is CVE-2025-71392 actively exploited?
What is the CVSS score of CVE-2025-71392?
How do I remediate CVE-2025-71392?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-71392
Is Your Infrastructure Affected by CVE-2025-71392?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.