Skip to content
HighVulnerability

CVE-2026-12530 - Improper neutralization of argument delimiters in AWS Bedrock AgentCore Python SDK install_packages()

Published
Record updated
View JSON

Summary

CVE-2026-12530 affects 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. The method sanitized package name arguments with an incomplete blocklist before building a 'pip install' command in the Code Interpreter sandbox, letting crafted arguments bypass validation. The most serious bypasses were the '--index-url' flag, which could redirect package resolution to a third-party-controlled PyPI server, and the '-r' flag, which could read and expose arbitrary sandbox files.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.