{"id":"CVE-2025-71394","published":"2026-07-18T13:10:13Z","modified":"2026-10-29T21:15:21Z","title":"SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER","vendor":"surrealdb","product":"surrealdb","tier":"tail","description":{"text":"SurrealDB versions before 2.2.2 contain a local file read vulnerability in the DEFINE ANALYZER statement that allows authenticated users to read arbitrary files on the file system. Attackers with root, namespace, or database level privileges can point analyzers to arbitrary file paths and exfiltrate content from two-column tab-separated files.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00367,"percentile":0.22717,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2cvj-g5r5-jrrg","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-local-file-read-via-define-analyzer","tags":["third-party-advisory"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":4.54},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"surrealdb","affectedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":[">= 2.2.0, < 2.2.2"]},{"vendor":"surrealdb","product":"surrealdb","versions":["< 2.1.5"]}],"fixedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["2.2.2"]},{"vendor":"surrealdb","product":"surrealdb","versions":["2.1.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-20T19:23:34.568583Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-210485","exploited":false,"provenance":"source"}}