Advisory record · GHSA-ccj3-5p93-8p42

SurrealDB server-takeover via SurrealQL injection on backup import

CVSS 9.4 CriticalCriticalEPSS 0.0044 · 38th percentile

Critical, because:

  • CVSS score 9.4: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 11 Apr 2025, 14:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
surrealdbcrates.io>=2.2.0, <2.2.2 || >=2.1.0, <2.1.5 || <2.0.52.2.2, 2.1.5, 2.0.5
Identifiers
GHSA-ccj3-5p93-8p42 · CVE-2025-71392
Weakness (CWE)
CWE-77
Published
11 Apr 2025
Updated
4 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

SurrealDB versions before 2.0.5, from 2.1.0 before 2.1.5, and from 2.2.0 before 2.2.2 are vulnerable to SurrealQL injection through table or field names in exports. An authenticated user with the OWNER or EDITOR role can create malicious names and export them, and if a higher-privileged user later imports that backup, the attacker can escalate to root access. Upgrade to SurrealDB 2.0.5, 2.1.5, 2.2.2 or later. Users who cannot upgrade should inspect exported data for injected statements before importing.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.4 Critical 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0044, the 38th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:17 UTC First seen by agentprime
  2. 31 Oct 2026, 15:17 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.