Description
Improper neutralization of argument delimiters in the install_packages() method in AWS Bedrock AgentCore Python SDK versions >= 1.1.3 and < 1.6.1 might allow a remote authenticated user to execute arbitrary commands within the Code Interpreter sandbox via crafted package name arguments.
To mitigate this issue, users should upgrade to version 1.6.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AWS | bedrock-agentcore | 1.1.3 – < 1.6.1 | 1.6.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | bedrock-agentcore | >= 1.1.3, < 1.6.1 | 1.6.1 | GHSA-6rfw-mq36-jm8h |
References
- https://pypi.org/project/bedrock-agentcore/1.6.1/ release-notes
- https://aws.amazon.com/security/security-bulletins/2026-044-aws/ vendor-advisory