NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

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

mediumCVSS 4.0 4.3GHSA-jfv4-h8mc-jcp8

OpenClaw's CLI runner cleanup killed processes by command-line pattern across the whole host, without checking that OpenClaw had started them. On a shared host, unrelated users' processes could be terminated. Versions below 2026.2.14, including the then-latest 2026.2.13, are affected. Fixed in 2026.2.14.

Published Feb 18, 2026 · Updated Feb 23, 2026 · Analysis Nov 1, 2026

What an attacker can do

Two helpers in src/agents/cli-runner/helpers.ts did the cleanup. cleanupResumeProcesses ran pkill -f with a pattern, which matches any process on the machine whose command line fits. cleanupSuspendedCliProcesses listed stopped processes system-wide. Neither checked ownership.

On a workstation with one user, this is mostly harmless. On a shared host, such as a build server or a multi-user dev box, a process from another user or service that happened to match the pattern could be killed with SIGKILL. The result is a loss of availability for that other workload, and lost unsaved work. It does not give code execution or data access.

The score of 4.3 reflects local access, low privileges and an availability-only effect. The attacker side is mild: someone on the same host could even start a process with a matching command line to see it killed, but the main risk is accidental collateral damage from normal OpenClaw use.

Who is affected

The openclaw npm package below 2026.2.14, which includes 2026.2.13. It matters on hosts shared with other users or services, where OpenClaw's CLI agent runner (for example resume of a codex session) runs next to unrelated processes. Check your version:

openclaw --version

openclaw

Ecosystem
npm
Affected
< 2026.2.14
Fixed in
2026.2.14
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.2.14 or later.

npm install -g [email protected]

Cleanup is now limited to direct child processes of OpenClaw (ppid == process.pid). cleanupResumeProcesses reads ps -axww -o pid=,ppid=,command=, filters to owned children and kills only those. The hardening follow-ups prefer wide ps output to avoid truncated command lines and tighten token matching to avoid substring hits. The advisory lists no workaround.

How to tell if you were hit

Look for unexplained SIGKILL terminations of other users' processes on hosts running OpenClaw, especially around CLI agent session resumes or cleanups. Check system audit logs or dmesg-style records for kill -9 or pkill -f calls issued by the OpenClaw user, and compare against the commands that disappeared. Process accounting on a shared host helps tie kills to the OpenClaw process.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to aether-ai-agent.

Questions

Is OpenClaw 2026.2.13 affected by CVE-2026-27486?

Yes. The advisory says the affected range is below 2026.2.14 and names 2026.2.13 as the latest published version at the time.

Does this allow code execution?

No. The effect is availability: unrelated processes can be terminated on a shared host.

What does the fix change?

Cleanup only signals direct child PIDs of the current OpenClaw process, found by matching the parent PID in ps output.

Is it exploited in the wild?

No source says so, and it is not in CISA's KEV catalog.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries