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

GHSA-JX6V-JMQP-X365

Windows drive-relative symlink target bypass in @appium/support ZIP extraction

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
6.5
Media
CVSS:3.1/AV:N/AC:L/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ón25 dDesde la divulgación, 27 oct 2026, 11:40 a. m.
Detección22 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.
Parche en la próxima ventana y listo, campeón.Mi diagnóstico: un ticket y una sonrisa.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
27 oct 26
18 nov 26
21 nov 26
27 oct 26
2 nov 26
9 nov 26
15 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-JX6V-JMQP-X365 divulgada · CVSS 6.5 (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` extracts ZIP archives with `build/lib/zip.js`. The 7.2.6 fix
for CVE-2026-103975 rejects relative and absolute symlink targets that escape
the extraction root. On Windows, a drive-relative target such as
`C:.git\hooks\pre-commit` is still accepted:

  • `path.resolve(realDestDir, "C:.git\hooks\pre-commit")` treats the target as
  • `fs.symlink("C:.git\hooks\pre-commit", dest)` resolves the target against the

A second archive entry with the same name as the symlink is then written
through the link. Because the target file does not exist, the
`assertFileDestinationWithinRoot()` `realpath()` call throws `ENOENT` and falls
back to the lexical destination, which is inside the root. The write follows
the link and creates the file outside the extraction root.

Root cause

`build/lib/zip.js` (7.2.8), `extractEntry()`:

if (isSymlink) {
    const link = await text(readStream);
    const resolvedLink = path.resolve(realDestDir, link);
    if (!isContainedPath(resolvedLink, dir)) throw ...
    await fs.symlink(link, dest);
}

`path.resolve()` and Win32 `fs.symlink()` disagree on drive-relative targets.
The check validates the first interpretation; the filesystem uses the second.

The write path's check falls back to the lexical path when `realpath()` throws
`ENOENT`:

realDest = realDest ?? path.resolve(realDestDir, path.basename(dest));
if (!isContainedPath(realDest, dir)) throw ...

For a new target file, `realpath(dest)` throws `ENOENT`; the fallback is
`<realDestDir>/<basename>` (inside the root), and `createWriteStream(dest)`
follows the link.

Remediation
  1. Reject Windows drive-relative targets (`/^[A-Za-z]:/` where
  2. Create the link with an absolute `resolvedLink` and verify the created link
  3. For regular-file writes, reject a symlink at the final destination
  4. Apply the same checks to `_extractEntryTo()`, which still has only the
Impact

An attacker who controls an archive that an Appium-based application extracts
can create a new file outside the extraction root, at any path relative to the
process CWD whose parent exists. On a Windows host this can plant a Git hook, a
file in `node_modules`, or a script next to the project's entry points, which
can lead to code execution when consumed. Existing files are not overwritten in
7.2.8 because `realpath()` catches them; the confirmed primitive is arbitrary
new-file creation.

Preconditions: Windows, symlink creation privilege, the process CWD outside the
extraction root (common for Appium project/test roots), and an existing parent
directory for the target.

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: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
8.3/ 10Alto
Vector 8.3 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
@appium/support≥ 7.2.6 ≤ 7.2.8
@appium/support≥ 8.0.0-beta.0 ≤ 8.0.0-beta.4
7.2.6
7.2.8
7.2.9
8.0.0-beta.0
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 no 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-jx6v-jmqp-x365

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