Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Surrealdb | Surrealdb | < 2.1.5 |
Related Weaknesses (CWE)
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2cvj-g5r5-jrrgVendor Advisory
- https://www.vulncheck.com/advisories/surrealdb-before-local-file-read-via-defineThird Party Advisory
FAQ
What is CVE-2025-71394?
CVE-2025-71394 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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...
How severe is CVE-2025-71394?
CVE-2025-71394 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-71394?
Check the references section above for vendor advisories and patch information. Affected products include: Surrealdb Surrealdb.