Vulnerability · Published Jul 18, 2026 · Assigned by VulnCheck

CVE-2025-71394SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER

Low 2.3

In plain English

A low-severity path traversal in surrealdb from surrealdb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).

Severity (CVSS 4.0)2.3Low
Exploit odds (30 days)0.4%top 69.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
surrealdb surrealdb 2.2.0 – before 2.2.2
surrealdb surrealdb 0 – before 2.1.5

Weakness: CWE-22 · 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

References