llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · openclaw

GHSA-QHRR-GRQP-6X2G

OpenClaw's tools.exec.safeBins trusted PATH directories allowed binary shadowing in allowlist mode

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -8 d de la divulgación
Exposición263 dDesde la divulgación, 3 mar 2026, 2:50 p. m.
Detección258 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 la severidad declarada por GHSA (media) y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Si tu inventario está al día, ya ganaste.Esto no amerita reunión. Un ticket basta.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 2026.2.22
Monitoreo
Detectada
23 feb 26
3 mar 26
4 mar 26
17 nov 26
21 nov 26
23 feb 26
2 may 26
9 jul 26
15 sept 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 2026.2.22 openclaw · -8 d desde divulgación
Divulgación Publicada GHSA-QHRR-GRQP-6X2G 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

### Summary
In `openclaw` allowlist mode, `tools.exec.safeBins` trusted PATH-derived directories for safe-bin resolution. A same-name binary placed in a trusted PATH directory could satisfy safe-bin checks and execute.

### Impact
This is an allowlist bypass in exec policy that can lead to command execution in the OpenClaw runtime context when allowlist mode relies on safe bins and an attacker can influence trusted binary locations.

### Affected Packages / Versions
- Package: `openclaw` (npm)
- Vulnerable versions: `<= 2026.2.21-2`
- Patched versions: `>= 2026.2.22` (planned next release)
- Latest published npm version at triage time (2026-02-22): `2026.2.21-2`

### Root Cause
- Safe-bin trust accepted PATH-derived directories instead of explicit trusted directories.
- Safe-bin execution used shell command tokens that could resolve to shadowed binaries.

### Remediation
- Stop trusting PATH-derived directories for safe-bin trust.
- Add explicit `tools.exec.safeBinTrustedDirs` for opt-in extra trusted paths.
- Pin safe-bin shell execution to resolved absolute executable paths.

### Fix Commit(s)
- `64b273a71cf0b2f2419c974832cede1fc2158729`

### Release Process Note
`patched_versions` is pre-set to the planned next release (`2026.2.22`). After npm release, this advisory is ready for publish without additional field edits.

OpenClaw thanks @tdjackey for reporting.

Versiones

Rangos afectados

Afectada Corregida Última
openclaw< 2026.2.22
2026.2.22
2026.11.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmopenclaw
Corregida 2026.2.22 -8 d 2026.11.3 no afectada
Versiones corregidas2026.2.22
Explotación

Arsenal público

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

Referencias
Otrahttps://github.com/openclaw/openclaw/security/advisories/GHSA-qhrr-grqp-6x2g
Otrahttps://github.com/openclaw/openclaw/commit/64b273a71cf0b2f2419c974832cede1fc2158729
Otrahttps://github.com/openclaw/openclaw

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