Skip to main content
← All vulnerabilities
CVE-2025-71394GHSA-2CVJ-G5R5-JRRG

SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.2, 2.1.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • surrealdb surrealdb

    From 2.2.0 · fixed in 2.2.2

  • surrealdb surrealdb

    fixed in 2.1.5

  • surrealdbcrates.io

    From 2.2.0 · fixed in 2.2.2

  • surrealdbcrates.io

    fixed in 2.1.5

References 2

GitHub · surrealdb/surrealdb

vulncheck.com