CVE-2026-44115
JSON

8.7high

OpenClaw < 2026.4.22 - Shell Expansion Bypass in Unquoted Heredocs via Exec Allowlist

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-x3h8-jrgh-p8jx

Description

OpenClaw before 2026.4.22 contains an exec allowlist analysis vulnerability allowing shell expansion hiding in unquoted heredoc bodies. Attackers can bypass allowlist validation by embedding shell expansion tokens in heredoc bodies to execute unapproved commands at runtime.

Affected

Product or packageVersionsReported by
OpenClaw OpenClawbefore 2026.4.22
Not affected: 2026.4.22
CVE List, NVD
openclaw (npm)before 2026.4.22GitHub Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubmedium rating

Classification

CWE-184CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

OpenClaw before 2026.4.22 contains an exec allowlist analysis vulnerability allowing shell expansion hiding in unquoted heredoc bodies. Attackers can bypass allowlist validation by embedding shell expansion tokens in heredoc bodies to execute unapproved commands at runtime.

GitHub Advisory Database

Summary

Exec allowlist analysis rejects shell expansion in unquoted heredocs

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.4.21
  • Fixed version: 2026.4.22

Impact

An allowlisted command containing an unquoted heredoc could hide shell expansion in the heredoc body. That could make the approved command text look safer than what the shell would evaluate at runtime.

Fix

The exec command analyzer now tracks heredoc bodies, rejects unquoted heredoc expansion tokens and continuation-splice bypasses, and preserves quoted heredocs and literal safe text.

Fix Commit(s)

  • b2e8b7d4bb2f22eaa16f5c4b07547774e90b65a5

Verification

  • The fix commit is contained in the public v2026.4.22 tag.
  • openclaw@2026.4.22 is published on npm and the compiled package contains the fix.
  • Focused regression coverage for this path passed before publication.

Thanks @VladimirEliTokarev for reporting.

NVD (es)

OpenClaw anterior a 2026.4.22 contiene una vulnerabilidad de análisis de lista de permitidos de ejecución que permite la ocultación de expansión de shell en cuerpos de heredoc sin comillas. Los atacantes pueden eludir la validación de la lista de permitidos incrustando tokens de expansión de shell en cuerpos de heredoc para ejecutar comandos no aprobados en tiempo de ejecución.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-44115 changed 2026-09-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-x3h8-jrgh-p8jx changed 2026-07-08CC-BY-4.0
NVDCVE-2026-44115 changed 2026-11-11Public domain