llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · langroid

GHSA-VQHW-XHFF-464Q

Langroid 0.69.18 SQL validator omits SQLite readfile() and writefile()

Texto original en inglés · Ver en español

Parche disponible
Descargar PNG JSON
CVSS 3.1
7.4
Alta
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición18 dDesde la divulgación, 3 nov 2026, 1:48 p. m.
Detección15 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir de cerca
Monitorear y programar la remediación
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Medio riesgo, cero excusas.Anótala en tu libreta de pendientes serios.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 0.69.19
Monitoreo
Detectada +1
3 nov 26
19 nov 26
21 nov 26
3 nov 26
8 nov 26
12 nov 26
17 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-VQHW-XHFF-464Q divulgada · CVSS 7.4 (GitHub)
Divulgación Modificada Última actualización del registro
Remediación Parche 0.69.19 langroid · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

The SQLChatAgent validator allows SQLite readfile() and writefile() under the default SELECT-only policy, enabling arbitrary file read and arbitrary-content file write. Reporter credit: Gavin Blacklock (GitHub Epsilon0xCell).

Details

The SQLChatAgent validator enumerates dangerous functions per dialect and blocks SQLite load_extension and ATTACH, but allows readfile() and writefile() under the default SELECT-only policy: arbitrary file read and arbitrary-content file write. Confirmed by a local fixture reproduction; validation was local-lab only, never against any production system. Suggested fix: add readfile and writefile to the SQLite denylist and default-deny unlisted functions. Reporter credit: Gavin Blacklock (GitHub Epsilon0xCell).

Proof of concept

In a local lab fixture only, configure Langroid 0.69.18 SQLChatAgent with the default SELECT-only SQLite policy and submit queries using readfile() to read a local test file and writefile() to write attacker-controlled content to a local test path. Observe that both functions are permitted by the validator, unlike load_extension and ATTACH. No production system was involved.

Impact

CWE-184 Incomplete List of Disallowed Inputs. An attacker able to influence SQLChatAgent queries can read arbitrary files accessible to the application and write arbitrary content to files, with high confidentiality and integrity impact. This affects Langroid 0.69.18 SQLite deployments under the default SELECT-only policy.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.1/ 10Alto
Vector 7.1 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
langroid≤ 0.69.18
0.69.18
0.69.22
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilangroid
Corregida 0.69.19 0 d 0.69.22 no afectada
Versiones corregidas0.69.19
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/langroid/langroid/security/advisories/GHSA-vqhw-xhff-464q

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