CVE-2026-63739

HIGH

SurrealDB before 3.1.5 Arbitrary File Read via DEFINE ANALYZER

Title source: cna
STIX 2.1

Description

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-cc8f-fcx3-gpjr)
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-cc8f-fcx3-gpjr
Third Party Advisory third-party-advisory
VulnCheck Advisory: SurrealDB before 3.1.5 Arbitrary File Read via DEFINE ANALYZER
https://www.vulncheck.com/advisories/surrealdb-before-arbitrary-file-read-via-define-analyzer

Scores

CVSS v3 7.7
EPSS 0.0036
EPSS Percentile 28.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (2)
surrealdb/surrealdb < 3.1.5 (2 CPE variants)
surrealdb/surrealdb 3.1.5
Published Jul 20, 2026
Tracked Since Jul 20, 2026