Code injection via improper triple-quote escaping in AgentCore CLI Bedrock Agent import
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.8epss 0.3%
exploitation probability
0.3%top 75% of all CVEs
observed exploitation
nono source reports it
Improper neutralization of triple-quote characters during Python code generation in AgentCore CLI before v0.14.2 might allow an authenticated remote threat actor to execute arbitrary code on AWS AgentCore Runtime under the imported agent's IAM execution role and on the local environment of another user in the same AWS account, via a crafted collaborationInstruction stored on a Bedrock Agent collaborator and later processed by that other user during agent import.
To remediate this issue, users should upgrade to version 0.14.2.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Affected products
AWS · AgentCore CLIReferences
https://aws.amazon.com/security/security-bulletins/2026-040-aws/https://github.com/aws/agentcore-cli/releases/tag/v0.14.2https://github.com/aws/agentcore-cli/security/advisories/GHSA-m4x6-gwgp-4pm7https://www.npmjs.com/package/@aws/agentcore/v/0.14.2https://www.npmjs.com/package/@aws/agentcore/v/1.0.0-preview.9