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.
References
| Link | Resource |
|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2cvj-g5r5-jrrg | Vendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-local-file-read-via-define-analyzer | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
29 Sep 2026, 19:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
13 Aug 2026, 13:57
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2cvj-g5r5-jrrg - Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/surrealdb-before-local-file-read-via-define-analyzer - Third Party Advisory | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 4.3 |
| First Time |
Surrealdb
Surrealdb surrealdb |
|
| CPE | cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
18 Jul 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-18 14:17
Updated : 2026-10-29 21:17
NVD link : CVE-2025-71394
Mitre link : CVE-2025-71394
CVE.ORG link : CVE-2025-71394
JSON object : View
Products Affected
surrealdb
- surrealdb
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
