Skip to main content
Mallory
HighVulnerability

CVE-2026-12530: Command Injection in AWS Bedrock AgentCore Python SDK install_packages()

Published Jun 17, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.4High · v4
EPSS0.59%42nd percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Amazon Web Services
IdentifiersCVE-2026-12530CWE-88 · Improper Neutralization of…

CVE-2026-12530 is an argument-injection vulnerability in the AWS Bedrock AgentCore Python SDK's Code Interpreter install_packages() method. Versions 1.1.3 through 1.6.0 improperly neutralize package-name argument delimiters using incomplete validation before constructing a pip installation command. A remote authenticated attacker who can control package-name input can supply crafted arguments that bypass validation and execute arbitrary commands inside the Code Interpreter sandbox. The flaw can also be used to alter pip behavior, including selecting an attacker-controlled package repository or causing pip to process a requirements-file argument.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary command execution within the Code Interpreter sandbox. An attacker may redirect package resolution to an attacker-controlled PyPI repository or read and expose arbitrary sandbox files and environment variables through manipulated pip arguments. Where the Code Interpreter is configured with an AWS execution role, command execution may expose that role's temporary credentials; resulting access to other AWS services depends on the role's IAM permissions.

Mitigation

If you can’t patch tonight, do this now.

Until the SDK can be upgraded, do not pass user-supplied, externally influenced, untrusted repository-derived, or model-generated package strings to install_packages(). Restrict installation requests in application code to a fixed allowlist of approved package names. Do not assign a Code Interpreter execution role when AWS access is unnecessary; otherwise, minimize the role's IAM permissions and monitor Code Interpreter activity.

Remediation

Patch, then assume compromise.

Upgrade the AWS Bedrock AgentCore Python SDK (bedrock-agentcore) to version 1.6.1 or later. Apply the vendor fix to forked or derivative implementations of the affected package-installation helper. Because a later package-input validation bypass was identified in the same helper, upgrading to version 1.18.1 or later provides the complete set of subsequently reported fixes.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Amazon Web ServicesBedrock-Agentcoreapplication
FAQ

Frequently asked questions

Is CVE-2026-12530 exploited in the wild?
As of Sep 30, 2026, Mallory has no reports of CVE-2026-12530 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-12530?
As of Sep 30, 2026, Mallory has found no public exploit for CVE-2026-12530.
Is there a patch for CVE-2026-12530?
Upgrade the AWS Bedrock AgentCore Python SDK (bedrock-agentcore) to version 1.6.1 or later. Apply the vendor fix to forked or derivative implementations of the affected package-installation helper.
What products are affected by CVE-2026-12530?
Amazon Web Services Bedrock-Agentcore.
How severe is CVE-2026-12530?
CVE-2026-12530 has a CVSS v4 score of 8.4 (High) and an EPSS score of 0.59% (42nd percentile) as of Sep 30, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.