CVE-2025-71394
LOW
2.3
CVSS 4.0
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.
Metadata
Severity & Metrics
2.3
LOW CVSS 4.0
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
Affected products (2)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| surrealdb | surrealdb | — | 0 < 2.2.2, 2.2.2 |
| surrealdb | surrealdb | — | 0 < 2.1.5, 2.1.5 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-22 | cna | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 2.3 | LOW | 4.0 | cna | 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 |
References (2)
- GitHub Security Advisory (GHSA-2cvj-g5r5-jrrg) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2cvj-g5r5-jrrg
- VulnCheck Advisory: SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER https://www.vulncheck.com/advisories/surrealdb-before-local-file-read-via-define-analyzer