AWS disclosed CVE-2026-16796, a high-severity command argument injection flaw in the Bedrock AgentCore Python SDK before version 1.18.1 that can let an authenticated user execute arbitrary commands inside the Code Interpreter sandbox. The issue affects the install_packages() function, where crafted Python package specifiers and improperly neutralized argument delimiters can be passed into a shell-backed pip install flow, resulting in CWE-88 command injection.
The vulnerability carries a CVSS v3.1 score of 7.3 and can expose sensitive data in the sandbox, including temporary files and environment tokens, with potential for further movement in weakly segmented environments. AWS said the fix in version 1.18.1 tightens validation for package inputs, including PEP 508 extras, and quotes package arguments with shlex.quote; users are advised to upgrade immediately to the patched release.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
2 events from the most recent confirmed update back to the earliest known activity.
Public disclosure of CVE-2026-16796 occurred on 2026-07-23. The vulnerability affects AWS Bedrock AgentCore Python SDK versions before 1.18.1 and involves improper neutralization of argument delimiters in install_packages().
AWS remediated CVE-2026-16796 in bedrock-agentcore version 1.18.1 by tightening package validation and quoting package arguments in the install_packages() flow. The fix addressed an argument injection issue that could let an authenticated user execute arbitrary commands in the Code Interpreter sandbox.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
2 references tracked. Mallory keeps watching after this page renders.
cvereports.com
Open sourcecvefeed.io
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.