GitHub Advisoryadvisory · npm

GHSA-jfv4-h8mc-jcp8 OpenClaw: Process Safety - Unvalidated PID Kill via SIGKILL in Process Cleanup

MEDIUM Published 2026-02-18 Modified 2026-02-23 Official page ↗
Aliases
CVE-2026-27486
Ecosystem
npm
Packages
openclaw
Severity
Moderate
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H
Weaknesses
CWE-283
Reviewed
2026-02-18

Affected packages

• npm openclaw: < 2026.2.14 → fixed in 2026.2.14

Description

Summary OpenClaw CLI process cleanup used system-wide process enumeration and pattern matching to terminate processes without verifying they were owned by the current OpenClaw process. On shared hosts, unrelated processes could be terminated if they matched the pattern. Affected Packages / Versions • Package: `openclaw` (npm) • Affected: `< 2026.2.14` (including the latest published version `2026.2.13`) • Fixed: `2026.2.14` (planned next release) Details The CLI runner cleanup helpers could kill processes matched by command-line patterns without validating process ownership. Fix Process cleanup is now scoped to owned processes only by filtering to direct child PIDs of the current process (`ppid == process.pid`) before sending signals. Hardening follow-ups: • Prefer graceful termination for resume cleanup (`SIGTERM`, then `SIGKILL` fallback). • Reduce false negatives from `ps` argv truncation by preferring wide output (`ps -axww`) with a fallback. • Tighten command-line token matching to avoid substring matches. Fix Commit(s) • 6084d13b956119e3cf95daaf9a1cae1670ea3557 • eb60e2e1b213740c3c587a7ba4dbf10da620ca66 Release Process Note This advisory is pre-set with patched version `2026.2.14`. After `2026.2.14` is published to npm, the remaining step should be to publish this advisory. Thanks @aether-ai-agent for reporting.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-283 Unverified Ownership weakness

References