CVE-2026-8634: CWE-94 Improper Control of Generation of Code ('Code Injection') in openclaw crabbox
Crabbox prior to v0.12.0 contains an environment variable exposure vulnerability that allows attackers with access to a malicious or compromised repository to forward local secrets such as API tokens, cloud credentials, and broker tokens into the remote command environment. Attackers can exploit overly permissive environment variable allowlisting in repo-local Crabbox configuration to serialize sensitive environment variables into remote command execution, exposing credentials to the remote environment.
AI Analysis
Technical Summary
CVE-2026-8634 in openclaw's Crabbox prior to version 0.12.0 is an environment variable exposure vulnerability. It arises from overly permissive allowlisting of environment variables in repository-local Crabbox configurations, enabling attackers who control or compromise a repository to serialize and forward sensitive local environment variables (such as API tokens, cloud credentials, and broker tokens) into remote command execution environments. This improper control of code generation (CWE-94) leads to exposure of sensitive credentials in remote environments. The vulnerability has a critical CVSS 4.0 score of 9.3, indicating high impact and ease of exploitation without privileges or user interaction.
Potential Impact
Attackers with access to a malicious or compromised repository can exploit this vulnerability to expose sensitive local environment variables, including API tokens and cloud credentials, in remote command execution environments. This exposure can lead to credential theft and unauthorized access to cloud services or other resources that rely on these secrets. The vulnerability does not require privileges or user interaction to exploit, increasing its risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using Crabbox versions prior to 0.12.0 with untrusted repositories or review and restrict environment variable allowlisting in repository-local configurations to prevent serialization of sensitive variables into remote commands.
CVE-2026-8634: CWE-94 Improper Control of Generation of Code ('Code Injection') in openclaw crabbox
Description
Crabbox prior to v0.12.0 contains an environment variable exposure vulnerability that allows attackers with access to a malicious or compromised repository to forward local secrets such as API tokens, cloud credentials, and broker tokens into the remote command environment. Attackers can exploit overly permissive environment variable allowlisting in repo-local Crabbox configuration to serialize sensitive environment variables into remote command execution, exposing credentials to the remote environment.
CVSS v4.0
Score 9.3critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8634 in openclaw's Crabbox prior to version 0.12.0 is an environment variable exposure vulnerability. It arises from overly permissive allowlisting of environment variables in repository-local Crabbox configurations, enabling attackers who control or compromise a repository to serialize and forward sensitive local environment variables (such as API tokens, cloud credentials, and broker tokens) into remote command execution environments. This improper control of code generation (CWE-94) leads to exposure of sensitive credentials in remote environments. The vulnerability has a critical CVSS 4.0 score of 9.3, indicating high impact and ease of exploitation without privileges or user interaction.
Potential Impact
Attackers with access to a malicious or compromised repository can exploit this vulnerability to expose sensitive local environment variables, including API tokens and cloud credentials, in remote command execution environments. This exposure can lead to credential theft and unauthorized access to cloud services or other resources that rely on these secrets. The vulnerability does not require privileges or user interaction to exploit, increasing its risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using Crabbox versions prior to 0.12.0 with untrusted repositories or review and restrict environment variable allowlisting in repository-local configurations to prevent serialization of sensitive variables into remote commands.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-14T19:12:45.834Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a06248cec166c07b00b4c76
Added to database: 05/14/2026, 19:37:48 UTC
Last enriched: 07/15/2026, 09:58:34 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 90
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.
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.