High severity7.3NVD Advisory· Published Jul 23, 2026· Updated Jul 24, 2026
CVE-2026-16796
CVE-2026-16796
Description
Improper neutralization of argument delimiters in the install_packages() method in AWS Bedrock AgentCore Python SDK before 1.18.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 the patched version 1.18.1.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
bedrock-agentcorePyPI | < 1.18.1 | 1.18.1 |
Affected products
1- Range: <1.18.1
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-j6g5-3hh3-pgw8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-16796ghsaADVISORY
- aws.amazon.com/security/security-bulletins/2026-065-awsghsaWEB
- github.com/aws/bedrock-agentcore-sdk-python/commit/3c4b4ee6b8730e6313a82c743ac37dbcc1c21cdbghsaWEB
- github.com/aws/bedrock-agentcore-sdk-python/pull/581ghsaWEB
- github.com/aws/bedrock-agentcore-sdk-python/security/advisories/GHSA-j6g5-3hh3-pgw8nvdWEB
- pypi.org/project/bedrock-agentcore/1.18.1ghsaWEB
- aws.amazon.com/security/security-bulletins/2026-065-aws/nvd
- pypi.org/project/bedrock-agentcore/1.18.1/nvd
News mentions
2- ⚡ Weekly Recap: NetScaler and FortiMail 0-Days, AI Coding Leaks, Spectre v2 and Ransomware ArrestsThe Hacker News · Oct 5, 2026
- Amazon Bedrock AgentCore Flaws Could Expose AWS CredentialsInfosecurity Magazine · Sep 29, 2026