PT-2026-26385 · Openclaw · Openclaw

·

CVE-2026-32003

·

Publicado

2026-03-03

·

Atualizado

2026-03-20

CVSS v4.0

7.5

Alta

VetorAV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions OpenClaw versions prior to 2026.2.22
Description OpenClaw contains an environment variable injection issue in the system.run function. This allows attackers to bypass command allowlist restrictions using the SHELLOPTS and PS4 environment variables. An attacker capable of invoking system.run with request-scoped environment variables can execute arbitrary shell commands outside the intended allowlisted command body through bash xtrace expansion. The issue arises because host exec environment sanitization did not block SHELLOPTS and PS4, and request-scoped environment overrides were passed through to shell wrappers, enabling command substitution.
Recommendations Versions prior to 2026.2.22 should be updated. Block SHELLOPTS and PS4 in host exec environment sanitizers. For shell wrappers, reduce request-scoped environment overrides to an explicit allowlist including TERM, LANG, LC *, COLORTERM, NO COLOR, and FORCE COLOR.

Exploit

Correção

OS Command Injection

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

Enumeração de Fraquezas

Identificadores relacionados

CVE-2026-32003
GHSA-2FGQ-7J6H-9RM4

Produtos afetados

Openclaw