GHSA-g375-h3v6-4873: openclaw: privilege retention via async exec completion miss
GHSA-g375-h3v6-4873 MEDIUMThis vulnerability in the openclaw AI agent framework causes the heartbeat owner-downgrade mechanism to miss local background exec completion events, leaving an agent run in a more privileged context than intended after processing untrusted completion content. The risk is meaningful in agentic deployments: an agent operating with elevated privileges beyond its intended scope could take unauthorized file system, network, or tool actions on behalf of untrusted input. With 135 prior CVEs in the same package, openclaw carries a substantial vulnerability history that should factor into supply chain risk assessments. No public exploit exists and EPSS data is unavailable, but the attack surface is local execution — any pipeline routing untrusted content through openclaw agents is exposed. Upgrade to openclaw 2026.4.10 or later; no workaround is available short of disabling background exec.
What is the risk?
Medium severity in isolation, but elevated in AI agent contexts. The privilege management flaw (CWE-269) is specific to the async execution boundary — the window where heartbeat owner-downgrade should fire but doesn't for local background exec format. Exploitation requires the ability to supply untrusted completion content to a running openclaw agent, which is a realistic scenario in multi-tenant or user-facing agentic deployments. The 135-CVE history of this package is a red flag for organizations conducting supply chain due diligence. Risk is highest for deployments where openclaw agents have broad tool access (file I/O, shell exec, API calls) and where user-supplied content can influence background execution.
How does the attack unfold?
What systems are affected?
How severe is it?
What should I do?
6 steps-
Upgrade openclaw to version 2026.4.10 or later (2026.4.14 is the current stable release containing the fix).
-
No supported workaround exists — the fix requires code changes to exec-completion detection.
-
As an interim control, restrict openclaw agents to the minimum required privilege level at process start, reducing the delta if downgrade fails.
-
Audit pipeline configurations for any background exec invocations that accept untrusted content (user input, external API responses, third-party tool output).
-
Monitor agent process privilege levels via OS-level auditing (auditd/macOS ASL) for unexpected elevation persistence.
-
Given the 135-CVE history, evaluate whether openclaw is an acceptable dependency — consider requiring OpenSSF Scorecard evaluation before re-approving.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is GHSA-g375-h3v6-4873?
This vulnerability in the openclaw AI agent framework causes the heartbeat owner-downgrade mechanism to miss local background exec completion events, leaving an agent run in a more privileged context than intended after processing untrusted completion content. The risk is meaningful in agentic deployments: an agent operating with elevated privileges beyond its intended scope could take unauthorized file system, network, or tool actions on behalf of untrusted input. With 135 prior CVEs in the same package, openclaw carries a substantial vulnerability history that should factor into supply chain risk assessments. No public exploit exists and EPSS data is unavailable, but the attack surface is local execution — any pipeline routing untrusted content through openclaw agents is exposed. Upgrade to openclaw 2026.4.10 or later; no workaround is available short of disabling background exec.
Is GHSA-g375-h3v6-4873 actively exploited?
No confirmed active exploitation of GHSA-g375-h3v6-4873 has been reported, but organizations should still patch proactively.
How to fix GHSA-g375-h3v6-4873?
1. Upgrade openclaw to version 2026.4.10 or later (2026.4.14 is the current stable release containing the fix). 2. No supported workaround exists — the fix requires code changes to exec-completion detection. 3. As an interim control, restrict openclaw agents to the minimum required privilege level at process start, reducing the delta if downgrade fails. 4. Audit pipeline configurations for any background exec invocations that accept untrusted content (user input, external API responses, third-party tool output). 5. Monitor agent process privilege levels via OS-level auditing (auditd/macOS ASL) for unexpected elevation persistence. 6. Given the 135-CVE history, evaluate whether openclaw is an acceptable dependency — consider requiring OpenSSF Scorecard evaluation before re-approving.
What systems are affected by GHSA-g375-h3v6-4873?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, local AI agent deployments, multi-step agentic pipelines, tool-augmented LLM agents.
What is the CVSS score for GHSA-g375-h3v6-4873?
No CVSS score has been assigned yet.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0053 AI Agent Tool Invocation AML.T0081 Modify AI Agent Configuration AML.T0107 Exploitation for Defense Evasion AML.T0112.000 Local AI Agent Compliance Controls Affected
What are the technical details?
Original Advisory
## Summary Heartbeat owner downgrade missed local async exec completion events. ## Affected Packages / Versions - Package: `openclaw` - Ecosystem: npm - Affected versions: `>= 2026.3.31 < 2026.4.10` - Patched versions: `>= 2026.4.10` ## Impact Local background exec completion text could be missed by heartbeat owner-downgrade detection, leaving a run in a more privileged context than intended after untrusted completion content. ## Technical Details The fix expands exec-completion detection to local background exec formats and adds targeted tests. ## Fix The issue was fixed in #64376. The first stable tag containing the fix is `v2026.4.10`, and `openclaw@2026.4.14` includes the fix. ## Fix Commit(s) - `19a2e9ddb5a8a494abcba812bb11f51075026a27` - PR: #64376 ## Release Process Note Users should upgrade to `openclaw` 2026.4.10 or newer. The latest npm release, `2026.4.14`, already includes the fix. ## Credits Thanks to @zsxsoft, with sponsorship from @KeenSecurityLab and @qclawer for reporting this issue.
Exploitation Scenario
An adversary operating through a user-facing AI agent interface submits crafted input designed to trigger a background execution task in openclaw. The task completes asynchronously — the heartbeat owner-downgrade mechanism checks for completion events but misses the local background exec format, failing to demote the agent's privilege context. The agent continues operating with elevated privileges for subsequent tool invocations. The adversary then submits follow-on requests that leverage the retained elevated context to access restricted files, invoke privileged shell commands, or exfiltrate data that would normally be blocked by the intended privilege boundary. No special AI/ML knowledge is required — the attacker only needs to know that openclaw's background exec triggers the vulnerable code path.
Weaknesses (CWE)
CWE-269 — Improper Privilege Management: The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
- [Architecture and Design, Operation] Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
- [Architecture and Design] Follow the principle of least privilege when assigning access rights to entities in a software system.
Source: MITRE CWE corpus.
References
Timeline
Related Vulnerabilities
CVE-2026-33579 9.9 OpenClaw: scope bypass escalates low-priv to admin
Same package: openclaw CVE-2026-32922 9.9 OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw CVE-2026-32038 9.8 Analysis pending
Same package: openclaw