Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-71392

published critical CVSS 4.0 · 9.4

SurrealDB before 2.2.2 SurrealQL Injection via export

Published
18 Jul 2026, 13:10:11 UTC
Updated
29 Oct 2026, 21:15:20 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
surrealdb — surrealdb2.2.0 to < 2.2.2 (affected · semver) · 2.2.2 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck
surrealdb — surrealdb2.1.0 to < 2.1.5 (affected · semver) · 2.1.5 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck
surrealdb — surrealdb0 to < 2.0.5 (affected · semver) · 2.0.5 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
9.4 / 10
Severity
critical
Provider
VulnCheck · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
surrealdb surrealdb 2.2.0 to < 2.2.2 (affected · semver)2.2.2 (unaffected · semver)Default: unaffected VulnCheck · cna
surrealdb surrealdb 2.1.0 to < 2.1.5 (affected · semver)2.1.5 (unaffected · semver)Default: unaffected VulnCheck · cna
surrealdb surrealdb 0 to < 2.0.5 (affected · semver)2.0.5 (unaffected · semver)Default: unaffected VulnCheck · cna

Weaknesses

1
  • CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') (VulnCheck · cna)

References

2

Provider assertions

2

VulnCheck · cna

SurrealDB before 2.2.2 SurrealQL Injection via export

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
1df062ba3a2e41d7edba1327b4d70c6b32b8a668aec2c93525631f8a4f845b6b
Ingested
29 Oct 2026, 21:17:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected