{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-71392","published":"2026-07-18T14:17:10.580000Z","last_modified":"2026-10-29T21:17:05.793000Z","status":"Analyzed","cvss":{"version":"4.0","score":9.4,"severity":"CRITICAL","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","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-77"],"cpes":[{"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","part":"a","vendor":"surrealdb","product":"surrealdb","version_end_excluding":"2.0.5"},{"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","part":"a","vendor":"surrealdb","product":"surrealdb","version_start_including":"2.1.0","version_end_excluding":"2.1.5"},{"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","part":"a","vendor":"surrealdb","product":"surrealdb","version_start_including":"2.2.0","version_end_excluding":"2.2.2"}],"cpes_truncated":false,"vendors":["surrealdb"],"products":["surrealdb/surrealdb"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-ccj3-5p93-8p42","ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":[{"introduced":"2.2.0","fixed":"2.2.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-ccj3-5p93-8p42","ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":[{"introduced":"2.1.0","fixed":"2.1.5"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-ccj3-5p93-8p42","ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":[{"introduced":"0","fixed":"2.0.5"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":56,"links":{"html_es":"/es/cve/CVE-2025-71392/","html_en":"/en/cve/CVE-2025-71392/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-71392","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-71392"},"untrusted":{"vendor_name":"Surrealdb","product_name":"Surrealdb","desc_en":"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":[{"untrusted_vendor":"surrealdb","untrusted_product":"surrealdb","versions":[]}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ccj3-5p93-8p42","tags":["Vendor Advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-surrealql-injection-via-export","tags":["Third Party Advisory"]}]}}