CVE-2025-71394

published 18 Jul 2026 · updated 29 Oct 2026

SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER

2.3LowCVSS 2.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.1.5 and 2.2.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
surrealdb<2.1.5, >=2.2.0 <2.2.22.1.5, 2.2.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-71394 severity on Zeptric[![CVE-2025-71394](https://zeptric.io/badge/cve/CVE-2025-71394.svg)](https://zeptric.io/cve/CVE-2025-71394)