Skip to content
OpenAdvisories
Low · 2.3 CVE-2025-71394 EUVD-2025-210485GHSA-2cvj-g5r5-jrrgGHSA-627h-wprw-6cpg

SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER

Published Jul 18, 2026 · Updated Oct 29, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
surrealdb surrealdb 2.2.0 – < 2.2.2, < 2.1.5 2.2.2

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io surrealdb >= 2.2.0, < 2.2.2 2.2.2 GHSA-2cvj-g5r5-jrrg
crates.io surrealdb < 2.1.5 2.1.5 GHSA-2cvj-g5r5-jrrg

References