Path Traversal in Surrealdb
CVE-2025-71394
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 31.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Surrealdb — versions 0, 2.2.2, 2.1.5
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-2cvj-g5r5-jrrg) (vendor-advisory, Vendor Advisory)
- VulnCheck Advisory: SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER (Third Party Advisory, third-party-advisory)