Path Traversal in Surrealdb
CVE-2026-63739
SurrealDB before 3.1.5 contains an arbitrary file read vulnerability in the DEFINE ANALYZER mapper filter that allows database users with EDITOR or OWNER roles to read files accessible to the SurrealDB process. Attackers can specify arbitrary file paths in the mapper filter and retrieve file contents through query error messages when the SURREAL_FILE_ALLOWLIST is empty or not configured.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 41.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Surrealdb — versions 0, 3.1.5
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-cc8f-fcx3-gpjr) (vendor-advisory, Mitigation, Vendor Advisory)
- VulnCheck Advisory: SurrealDB before 3.1.5 Arbitrary File Read via DEFINE ANALYZER (Third Party Advisory, third-party-advisory)