llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · flowise

GHSA-8R8H-6VCC-XHRV

Flowise: RBAC Bypass Leading to Unauthorized Workspace Variables Disclosure

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -40 d de la divulgación
Exposición108 dDesde la divulgación, 4 ago 2026, 12:43 p. m.
Detección104 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 3.1.3
Monitoreo
Detectada
25 jun 26
4 ago 26
17 nov 26
21 nov 26
25 jun 26
1 ago 26
7 sept 26
14 oct 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 3.1.3 flowise · -40 d desde divulgación
Divulgación Publicada GHSA-8R8H-6VCC-XHRV divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Finding — Unauthorized Workspace Variables disclosure via $vars injection (bypasses variables:view)

What’s wrong (code locations)
  • Variables for the active workspace are fetched without checking “variables:view” at this call site: flowise-src/
  • Runtime variables are resolved from server environment variables: flowise-src/packages/components/src/utils.ts:976
  • $vars is always injected into the code execution sandbox: flowise-src/packages/components/src/utils.ts:1782
  • The official Variables API is permission-protected (contrast): flowise-src/packages/server/src/routes/variables/
Why it is a privilege boundary bypass

A user/API key might be denied variables:view (and the /api/v1/variables route enforces it), but they can still:

  • call /api/v1/node-custom-function (Finding 1)
  • and have $vars pre-populated with all variables for the workspace, including runtime values from process.env
What data is exposed

Inside the custom JS context, $vars contains a flat map of:

  • Variable.name -> Variable.value for static variables, and
  • Variable.name -> process.env[Variable.name] for runtime variables (type === 'runtime')

This can expose secrets such as database passwords, JWT secrets, SMTP passwords, cloud keys, etc., depending on what
the workspace Variables are configured to map.

Recommended fix (minimum)
  • Do not inject $vars unless the caller is authorized:
  • enforce variables:view before injecting $vars, or
  • inject only an explicit allowlist of variables needed for the function
  • Consider disabling or heavily restricting type=runtime variables in self-hosted environments (or restrict which env
Versiones

Rangos afectados

Afectada Corregida Última
flowise< 3.1.3
3.1.3
3.1.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmflowise
Corregida 3.1.3 -40 d 3.1.4 no afectada
Versiones corregidas3.1.3
Explotación

Arsenal público

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

Referencias
Otrahttps://github.com/FlowiseAI/Flowise/security/advisories/GHSA-8r8h-6vcc-xhrv
Otrahttps://github.com/FlowiseAI/Flowise
Otrahttps://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3

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