VDB
Sign up
MEDIUM4.3

GHSA-jfv4-h8mc-jcp8

OpenClaw: Process Safety - Unvalidated PID Kill via SIGKILL in Process Cleanup

Quick fix

GHSA-jfv4-h8mc-jcp8 — openclaw: upgrade to the fixed version with the command below.

npm install openclaw@2026.2.14

Details

## 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/openclaw
Introduced in: 0Fixed in: 2026.2.14
Fixnpm install openclaw@2026.2.14

References