llamaCVEVulnerability Intelligence
/
surrealdb

CVE-2026-63739

SurrealDB before 3.1.5 Arbitrary File Read via DEFINE ANALYZER

Specific setups onlyParche disponible
Descargar PNG JSON
CVSS 4.0
8.3
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -31 d de la divulgación
Exposición122 dDesde la divulgación, 20 jul 2026, 7:04 a. m.
Detección105 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Modificada
Explotación
Remediación
Parche 3.1.5
Monitoreo
Detectada
Fuente: OSV
19 jun 26
20 jul 26
28 jul 26
3 nov 26
4 nov 26
19 nov 26
19 jun 26
27 jul 26
4 sept 26
12 oct 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 3.1.5 surrealdb · -31 d desde divulgación
Divulgación Publicada CVE-2026-63739 divulgada · CVSS 8.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Resumen

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.

SurrealDB versions before 3.1.5 are exposed when a database EDITOR or OWNER user can define an analyzer and SURREAL_FILE_ALLOWLIST is empty or unset. Fixed in 3.1.5.

¿Qué significa?A database user with the EDITOR or OWNER role can point the mapper filter in DEFINE ANALYZER at any file the SurrealDB process can access and read its contents. Only the first line is returned, except for files without newlines. This could expose startup credentials or secret environment variables.
¿Quién está afectado?SurrealDB versions before 3.1.5 are affected, but only where SURREAL_FILE_ALLOWLIST is empty or not configured, because an empty allowlist applies no restriction and empty is the default. To check, look at the installed SurrealDB version and whether SURREAL_FILE_ALLOWLIST is set in the environment the server runs with.
¿Qué hacer?Upgrade to SurrealDB 3.1.5, which includes the patch. Until you can upgrade, set SURREAL_FILE_ALLOWLIST to a directory that contains only the intended mapping files.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Database user with EDITOR or OWNER role“A database user with the EDITOR or OWNER role could point that filter”
02
SURREAL_FILE_ALLOWLIST is empty or not configured“an empty allowlist applied no restriction at all — and empty is the default”
03
SurrealDB versions before 3.1.5“Affecting surrealdb >= 0, < 3.1.5”
MitigaciónSet SURREAL_FILE_ALLOWLIST to a directory that contains only the intended mapping files, which confines the mapper filter to that path.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:H
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
surrealdb< 3.1.5
3.1.5
4.0.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
crates.iosurrealdb
Corregida 3.1.5 -31 d 4.0.1 no afectada
Versiones corregidas3.1.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/surrealdb/surrealdb/security/advisories/GHSA-cc8f-fcx3-gpjr
Otrahttps://www.vulncheck.com/advisories/surrealdb-before-arbitrary-file-read-via-define-analyzer

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.