GHSA-mhq8-78pj-5j79: OpenClaw's POSIX node system.run safe-bin allowlist could be widened by shell expansion
OpenClaw's POSIX node system.run safe-bin allowlist can be bypassed due to shell expansion altering command interpretation. This allows a lower-privilege operator to cause an approved safe-bin command to read unintended local files on the node. The issue affects deployments using safe-bin or allowlist auto-approval with shell-expanded arguments on POSIX nodes. It is a policy enforcement gap in argument validation, not a direct unauthenticated takeover. The vulnerability is patched in OpenClaw version 2026.5.18.
AI Analysis
Technical Summary
On POSIX nodes, OpenClaw's system.run safe-bin checks approve commands before shell expansion, which can change how commands are interpreted by expanding arguments into additional shell words. This can cause a safe-bin approved command to read node-local files not intended by policy. The vulnerability is limited to paired POSIX nodes where system.run is accessible to authenticated operators or agents, and where exec policy uses safe-bin or allowlist auto-approval. This is a policy enforcement gap in argv validation rather than a general safe-bin command safety issue. The first stable patched version is 2026.5.18.
Potential Impact
A lower-privilege operator flow can exploit this vulnerability to cause an approved safe-bin command to read local files on the node that were not intended to be accessible. This can lead to exposure of OpenClaw configuration data or other sensitive node-local information. The impact is confidentiality loss of local files due to insufficient validation of shell-expanded command arguments.
Mitigation Recommendations
Upgrade OpenClaw to version 2026.5.18 or later, where this issue is patched. Until upgrading, avoid broad safe-bin auto-approval for commands that can read arbitrary paths. Prefer explicit approval for node commands that access local files to reduce risk.
GHSA-mhq8-78pj-5j79: OpenClaw's POSIX node system.run safe-bin allowlist could be widened by shell expansion
Description
OpenClaw's POSIX node system.run safe-bin allowlist can be bypassed due to shell expansion altering command interpretation. This allows a lower-privilege operator to cause an approved safe-bin command to read unintended local files on the node. The issue affects deployments using safe-bin or allowlist auto-approval with shell-expanded arguments on POSIX nodes. It is a policy enforcement gap in argument validation, not a direct unauthenticated takeover. The vulnerability is patched in OpenClaw version 2026.5.18.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
On POSIX nodes, OpenClaw's system.run safe-bin checks approve commands before shell expansion, which can change how commands are interpreted by expanding arguments into additional shell words. This can cause a safe-bin approved command to read node-local files not intended by policy. The vulnerability is limited to paired POSIX nodes where system.run is accessible to authenticated operators or agents, and where exec policy uses safe-bin or allowlist auto-approval. This is a policy enforcement gap in argv validation rather than a general safe-bin command safety issue. The first stable patched version is 2026.5.18.
Potential Impact
A lower-privilege operator flow can exploit this vulnerability to cause an approved safe-bin command to read local files on the node that were not intended to be accessible. This can lead to exposure of OpenClaw configuration data or other sensitive node-local information. The impact is confidentiality loss of local files due to insufficient validation of shell-expanded command arguments.
Mitigation Recommendations
Upgrade OpenClaw to version 2026.5.18 or later, where this issue is patched. Until upgrading, avoid broad safe-bin auto-approval for commands that can read arbitrary paths. Prefer explicit approval for node commands that access local files to reduce risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mhq8-78pj-5j79
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a46ecd227e9c7971943f2c7
Added to database: 07/02/2026, 22:57:22 UTC
Last enriched: 07/02/2026, 23:21:22 UTC
Last updated: 07/03/2026, 00:00:31 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.