Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. bedrock-agentcore
  4. ›
  5. CVE-2026-16796

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

July 24, 2026

The AWS Bedrock AgentCore Python SDK (bedrock-agentcore) provides tools for building AI agents, including a Code Interpreter client that installs Python packages into a managed sandbox. An issue exists where, under certain circumstances, improper neutralization of argument delimiters in the install_packages() method allows a remote authenticated user to execute arbitrary commands within the Code Interpreter sandbox via crafted package name arguments.

References

  • aws.amazon.com/security/security-bulletins/2026-065-aws
  • github.com/advisories/GHSA-j6g5-3hh3-pgw8
  • github.com/aws/bedrock-agentcore-sdk-python/commit/3c4b4ee6b8730e6313a82c743ac37dbcc1c21cdb
  • github.com/aws/bedrock-agentcore-sdk-python/pull/581
  • github.com/aws/bedrock-agentcore-sdk-python/security/advisories/GHSA-j6g5-3hh3-pgw8
  • nvd.nist.gov/vuln/detail/CVE-2026-16796
  • pypi.org/project/bedrock-agentcore/1.18.1

Code Behaviors & Features

Detect and mitigate CVE-2026-16796 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.18.1

Fixed versions

  • 1.18.1

Solution

Upgrade to version 1.18.1 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Source file

pypi/bedrock-agentcore/CVE-2026-16796.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:27 +0000.