CVE-2025-71394

SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER

State
Published
Severity
2.3 Low
Published
Jul 18, 2026
Updated
Oct 29, 2026
Reserved
Jul 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.3 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
surrealdbsurrealdb
  • 2.2.0 to before 2.2.2Affected
  • 2.2.2Not affected
surrealdbsurrealdb
  • before 2.1.5Affected
  • 2.1.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.