Summary
A command injection vulnerability existed in Clawdbot’s Docker sandbox execution mechanism due to unsafe handling of the PATH environment variable when constructing shell commands.
An authenticated user able to control environment variables could influence command execution within the container context.
This issue has been fixed and regression tests have been added to prevent reintroduction.
Impact
In environments where Docker sandbox mode was enabled, authenticated users capable of supplying environment variables could affect the behavior of commands executed inside the container.
This could lead to:
- Execution of unintended commands inside the container
- Access to the container filesystem and environment variables
- Exposure of sensitive data
- Increased risk in misconfigured or privileged container environments
Fix Commit(s)
771f23d36b95ec2204cc9a0054045f5d8439ea75
Summary
A command injection vulnerability existed in Clawdbot’s Docker sandbox execution mechanism due to unsafe handling of the PATH environment variable when constructing shell commands.
An authenticated user able to control environment variables could influence command execution within the container context.
This issue has been fixed and regression tests have been added to prevent reintroduction.
Impact
In environments where Docker sandbox mode was enabled, authenticated users capable of supplying environment variables could affect the behavior of commands executed inside the container.
This could lead to:
Fix Commit(s)
771f23d36b95ec2204cc9a0054045f5d8439ea75