llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · flowise

GHSA-9CVR-5WV9-2GXR

SSRF bypass via Cheerio/Playwright/Puppeteer document loaders — not covered by httpSecurity deny list

Parche disponible
Descargar PNG JSON
CVSS 4.0
7.6
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -33 d de la divulgación
Exposición80 dDesde la divulgación, 31 ago 2026, 9:02 a. m.
Detección79 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 3.1.4
Monitoreo
Detectada +1
29 jul 26
31 ago 26
18 nov 26
19 nov 26
29 jul 26
26 ago 26
24 sept 26
22 oct 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 3.1.4 flowise · -33 d desde divulgación
Divulgación Publicada GHSA-9CVR-5WV9-2GXR divulgada · CVSS 7.6 (GitHub)
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 Cheerio, Playwright, and Puppeteer document loader nodes fetch user-provided URLs without calling `checkDenyList()` or using `secureFetch`. They instantiate LangChain's built-in loader classes which perform their own HTTP requests, bypassing the SSRF protection in `httpSecurity.ts`.

This is an incomplete fix. PR #5886 (March 10) added `secureFetch`/`secureAxiosRequest` to the API Loader, FireCrawl, Spider, and 7 other components. The three document loaders were not included.

Affected Code

Cheerio (`packages/components/nodes/documentloaders/Cheerio/Cheerio.ts:157`):

const loader = new CheerioWebBaseLoader(url, params)
docs = await loader.load()

URL comes from `nodeData.inputs?.url`. Only `linkifyjs.test(url)` validation (format check, not IP check). `CheerioWebBaseLoader._scrape()` internally calls raw `fetch(url)` outside Flowise's security layer.

Playwright and Puppeteer loaders follow the same pattern with their respective LangChain classes calling `page.goto(url)` via browser instances.

Protected Code (for contrast)

The API Loader (`packages/components/nodes/documentloaders/API/APILoader.ts`) correctly imports and uses `secureAxiosRequest` from `httpSecurity.ts`.

The `webCrawl()` utility in `utils.ts` correctly calls `checkDenyList(stringURL)` and `secureFetch(currentURL)`. But the direct loader path does not go through `webCrawl()`.

Proof of Concept

  1. Create a chatflow with a Cheerio Web Scraper node
  2. Set URL to `http://169.254.169.254/latest/meta-data/iam/security-credentials/`
  3. Connect to a text output
  4. Execute the chatflow
  5. LangChain's CheerioWebBaseLoader fetches the URL with no IP validation
  6. AWS metadata returned as document content

Impact

Full-read SSRF through document loader nodes. Response content is returned as document text. Cloud metadata, internal services, and private network resources are reachable. Consistent with the impact of GHSA-fvcw-9w9r-pxc7 and GHSA-hr92-4q35-4j3m.

Suggested Fix

Add `checkDenyList(url)` before instantiating the LangChain loaders:

import { checkDenyList } from '../../../src/httpSecurity'

// Before: const loader = new CheerioWebBaseLoader(url, params)
await checkDenyList(url)
const loader = new CheerioWebBaseLoader(url, params)

Apply to Cheerio.ts, Playwright.ts, and Puppeteer.ts.

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

Vector CVSS 4.0

Desglose de métricas

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

Rangos afectados

Afectada Corregida Última
flowise · flowise-components≤ 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.4 -33 d 3.1.4 no afectada
npmflowise-components
Corregida 3.1.4 -33 d 3.1.4 no afectada
Versiones corregidas3.1.4
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/FlowiseAI/Flowise/security/advisories/GHSA-9cvr-5wv9-2gxr

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