CVE-2025-71394 PUBLISHED

SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER

Assigner: VulnCheck
Reserved: 16.07.2026 Published: 18.07.2026 Updated: 18.07.2026

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.

Metrics

CVSS 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
CVSS Score: 2.3

Product Status

Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.2.2 (excl.)
  • Version 2.2.2 is unaffected
Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.1.5 (excl.)
  • Version 2.1.5 is unaffected

Credits

  • cure53 reporter

References

Problem Types

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