{"cve":"CVE-2025-71394","nvd":{"published":"2026-07-18T14:17:10.837","modified":"2026-10-29T21:17:06.060","status":"Analyzed","description":"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.","cvss_v4":{"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","score":2.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3},"cwes":["CWE-22"],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2cvj-g5r5-jrrg","https://www.vulncheck.com/advisories/surrealdb-before-local-file-read-via-define-analyzer"],"products":["surrealdb:surrealdb"],"source":"nvd","synced_at":"2026-10-29T21:36:56.436249234+00:00"},"epss":{"cve":"CVE-2025-71394","score":0.00367,"percentile":0.30506,"date":"2026-10-29"},"kev":null,"osv":[{"id":"GHSA-2cvj-g5r5-jrrg","url":"https://osv.dev/vulnerability/GHSA-2cvj-g5r5-jrrg","summary":"SurrealDB has local file read of 2-column TSV files via analyzers ","modified":"2026-07-19T03:56:47.167418204Z","packages":[{"ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":[">=2.2.0 <2.2.2"],"fixed":["2.2.2"]},{"ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":["<2.1.5"],"fixed":["2.1.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}