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)

EPSS: 0.002 (15.7th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-71394?
CVE-2025-71394 is a medium-severity vulnerability in Surrealdb, classified under Path Traversal. CVSS score: 4.3/10. Published 2026-07-18.
How severe is CVE-2025-71394?
Medium severity. CVSS v3 base score is 4.3 out of 10.