GHSA-6rfw-mq36-jm8h: Improper neutralization of argument delimiters in AWS Bedrock AgentCore Python SDK install_packages()
- Identifiers
- CVE-2026-12530GHSA-6rfw-mq36-jm8h
- Published
- Record updated
- Affected
- bedrock-agentcore >= 1.1.3, < 1.6.1
- Fixed in
- 1.6.1
- released April 10, 2026, 70 days before disclosure
Summary
The install_packages() method of the Code Interpreter client in the AWS Bedrock AgentCore Python SDK (bedrock-agentcore), versions >= 1.1.3 and < 1.6.1, builds a 'pip install' command from caller-supplied package names. An incomplete blocklist lets pip flags such as '--index-url' and '-r' pass validation, so a remote authenticated user who can influence those arguments can redirect package resolution to a third-party PyPI server or read arbitrary sandbox files and environment variables.
Mitigation
Fixed in bedrock-agentcore 1.6.1. Upgrade, and patch any forked or derivative code. If upgrading is not possible, avoid passing user-supplied or externally influenced strings to install_packages() and restrict calls to a fixed, hardcoded list of approved package names.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- bedrock-agentcorePyPILLM dependency since 2025-09-05, 4 tracked dependents
Coverage
News, research and other items that mention CVE-2026-12530.
- CVE-2026-12530 - Improper neutralization of argument delimiters in AWS Bedrock AgentCore Python SDK install_packages()AWS Security Bulletins, 2026-06-17
Related items
- HighCVE-2026-142134 - Uncontrolled search path element in the workflow linting tools in AWS HealthOmics MCP ServerSame vendor, AWS Security Bulletins
- HighCVE-2026-142134: AWS HealthOmics MCP Server uncontrolled search path in workflow linting toolsSame vendor, NVD/CVE Database
- LowCVE-2026-59336: spring-ai-bedrock-converse SSRF via media URLs in multi-modal chat requestsSame vendor, NVD/CVE Database
- HighIssue with Language Servers for AWS - MCP consent, command execution and workspace boundary issues (CVE-2026-137931, CVE-2026-137932, CVE-2026-137933, CVE-2026-137934, CVE-2026-137935)Same vendor, AWS Security Bulletins
- HighCVE-2026-137935: Language Servers for AWS workspace boundary check via crafted symbolic linkSame vendor, NVD/CVE Database