CVE-2025-71394
LOW 2.3CVSS 4.0SurrealDB has local file read of 2-column TSV files via analyzers
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.
- Published
- 18 Jul 2026
- Last modified
- 29 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-2cvj-g5r5-jrrg
- Sources
- NVDJSONOSV GHSA-2cvj-g5r5-jrrgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | LOW 2.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
< 2.1.5 | 2.1.5 |
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
>= 2.2.0, < 2.2.2 | 2.2.2 |
| OSV | crates.io | surrealdb | >= 2.2.0, < 2.2.2 | 2.2.2 |
| OSV | crates.io | surrealdb | < 2.1.5 | 2.1.5 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2cvj-g5r5-jrrg · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/surrealdb-before-local-file-read-via-define-analyzer · Third Party Advisory
- https://github.com/surrealdb/surrealdb/pull/5600 · WEB
- https://github.com/surrealdb/surrealdb · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Apr 2025)