llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · @appium/support

GHSA-W59V-R97H-G2C7

Symlink Zip Slip in @appium/support useSystemUnzip extraction path

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición4 dDesde la divulgación, 17 nov 2026, 5:57 a. m.
Detección1 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
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 parcial. No hay versión corregida: aplique mitigaciones.
Agenda, parchea y celebra con un mate.Nivel de alerta: llama mascando hierba.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
17 nov 26
18 nov 26
21 nov 26
17 nov 26
18 nov 26
19 nov 26
20 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-W59V-R97H-G2C7 divulgada · CVSS 5.3 (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

`@appium/support` exposes an `extractAllTo(zipFilePath, destDir, opts)` ZIP extraction helper that supports an opt-in `useSystemUnzip: true` option. When that option is set, extraction is delegated to the system `unzip` binary and the function returns before the hardened JavaScript extractor runs. The system-unzip path performs no symlink target validation, so an attacker who controls a ZIP archive that an application extracts with `useSystemUnzip: true` can plant a symbolic link pointing outside the extraction directory and then write attacker-controlled file content to an arbitrary location writable by the Appium process.

Root Cause

The security invariant is that no archive entry may cause a write outside the extraction root. The JavaScript extractor (`ZipExtractor`) enforces this by resolving each symlink target and rejecting any that escapes the root. The `useSystemUnzip: true` branch bypasses that enforcement entirely: it invokes the external `unzip` binary with no symlink-safety flags and no pre- or post-extraction containment check, and `extractAllTo` returns immediately on success so the `ZipExtractor` is never constructed. Info-ZIP recreates symbolic links verbatim from archive entries, so a link whose target points outside the destination is written as-is, and a subsequent entry (or a later extraction into the same directory) whose name resolves through that link escapes the extraction root.

Impact

An attacker who controls a ZIP archive that an application extracts through `@appium/support` with `useSystemUnzip: true` on a non-Windows host that has the Info-ZIP `unzip` binary available can create a symbolic link outside the extraction directory and write attacker-controlled content through it to any path writable by the Appium process.

Exploitation requires the non-default `useSystemUnzip: true` option, and achieving the out-of-root write of file content (rather than only the escaping symlink) requires two extractions into the same destination directory with Info-ZIP, which raises attack complexity but is a realistic multi-stage installation pattern.

Use-cases with `useSystemUnzip` disabled (the default configuration) are not affected.

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:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
5.9/ 10Medio
Vector 5.9 (moderada) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
@appium/support≥ 2.54.0 ≤ 8.0.0-beta.4
2.54.0
7.2.9
8.0.0-beta.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@appium/support
Sin parche — — 7.2.9 afectada
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/appium/appium/security/advisories/GHSA-w59v-r97h-g2c7

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