7.3
High
bedrock-agentcore

CVE-2026-12530

CVE-2026-12530 is a high-severity security vulnerability in bedrock-agentcore (pip), affecting versions >= 1.1.3, < 1.6.1. It is fixed in 1.6.1.

Key facts
CVSS score
7.3
High
Attack vector
Network
Issuing authority
GitHub Advisory Database
Affected package
bedrock-agentcore
Fixed in
1.6.1
Disclosed
2026

Summary

Summary The AWS Bedrock AgentCore Python SDK (bedrock-agentcore) is an open-source SDK that enables developers to build, deploy, and manage agents on AWS Bedrock AgentCore. An issue exists in the installpackages() method of the Code Interpreter client where crafted package name arguments can bypass input validation and allow a remote authenticated user to execute arbitrary commands within the Code Interpreter sandbox. Impact The installpackages() method constructs a 'pip install' shell command executed within the Code Interpreter sandbox using package name arguments provided by the caller. The method applied an incomplete blocklist that allowed crafted package name arguments - specifically pip flags such as '--index-url' and '-r' - to pass validation unchecked. A remote authenticated user who can influence the arguments passed to installpackages() could redirect package resolution to a third-party-controlled PyPI server, or expose the contents of arbitrary sandbox files and environment variables. Impacted versions: AWS Bedrock AgentCore Python SDK (bedrock-agentcore) versions >= 1.1.3 and < 1.6.1 Patches This issue has been addressed in bedrock-agentcore version 1.6.1. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. Workarounds If you are unable to upgrade immediately, avoid passing any user-supplied or externally-influenced strings directly to installpackages(). Restrict calls to a fixed, hardcoded list of approved package names within your application code. References If you have any questions or comments about this advisory, we ask that you contact AWS Security via our vulnerability reporting page or directly via email to [email protected]. Please do not create a public GitHub issue. We would like to thank Sergio Garcia for collaborating on this issue through the coordinated vulnerability disclosure process.

Impact

Severity and exposure

CVE-2026-12530 has a CVSS score of 7.3 (High). The vector is network-reachable, low privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (1.6.1). Upgrading removes the vulnerable code path.

Affected versions

pip

  • bedrock-agentcore (>= 1.1.3, < 1.6.1)

Security releases

  • bedrock-agentcore → 1.6.1 (pip)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether CVE-2026-12530 is reachable in your applications. Explore open-source security for your team.

See if CVE-2026-12530 is reachable in your applications. Get a demo

Remediation advice

Upgrade bedrock-agentcore to 1.6.1 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2026-12530

What is CVE-2026-12530?

CVE-2026-12530 is a high-severity security vulnerability in bedrock-agentcore (pip), affecting versions >= 1.1.3, < 1.6.1. It is fixed in 1.6.1.

How severe is CVE-2026-12530?

CVE-2026-12530 has a CVSS score of 7.3 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of bedrock-agentcore are affected by CVE-2026-12530?

bedrock-agentcore (pip) versions >= 1.1.3, < 1.6.1 is affected.

Is there a fix for CVE-2026-12530?

Yes. CVE-2026-12530 is fixed in 1.6.1. Upgrade to this version or later.

Is CVE-2026-12530 exploitable, and should I be worried?

Whether CVE-2026-12530 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2026-12530 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2026-12530?

Upgrade bedrock-agentcore to 1.6.1 or later.

Stop the waste.
Protect your environment with Kodem.