PT-2026-26234 · Openclaw · Openclaw

·

CVE-2026-31994

·

Publicado

2026-02-19

·

Atualizado

2026-03-20

CVSS v3.1

7.8

Alta

VetorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions OpenClaw versions prior to 2026.2.19
Description OpenClaw Windows scheduled task script generation has a local command injection issue due to unsafe handling of cmd metacharacters and expansion-sensitive characters in gateway.cmd files. Local attackers with control over service script generation arguments can inject arbitrary commands by providing metacharacter-only values or CR/LF sequences, leading to unintended code execution in the scheduled task context. The issue stems from incomplete cmd argument quoting, handling of expansion-sensitive characters, and missing CR/LF guards in the script generation process, specifically within src/daemon/schtasks.ts. The fix involves separating schtasks argument quoting, quoting cmd metacharacter arguments, escaping expansion cases, rejecting CR/LF characters in arguments and descriptions, and adding regression tests.
Recommendations OpenClaw versions prior to 2026.2.19 should be updated to version 2026.2.19 or later.

Exploit

Correção

Improper Encoding or Escaping of Output

OS Command Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2026-05008
CVE-2026-31994
GHSA-5GQG-MQH5-2V39
GHSA-MQR9-VQHQ-3JXW

Produtos afetados

Openclaw