
AWS closes critical security flaws in Bedrock AgentCore
This article was created with the help of artificial intelligence.
Key Takeaways
- Amazon Web Services has closed several critical security flaws in its AI service Bedrock AgentCore that would have allowed attackers to access all AgentCore agents within the same AWS account and region with a single manipulated command.
- Researchers at the security company BeyondTrust identified two separate vulnerabilities in the Amazon Bedrock AgentCore SDK, as the company announced on October 6, 2026.
- Amazon released version 1.18.1 of the Bedrock AgentCore SDK to fix both vulnerabilities identified by BeyondTrust.
- According to the company, Amazon has entered into commitments of 225 billion US dollars for its Trainium AI chip.
Amazon Web Services (AWS) has closed several critical security flaws in its AI service Bedrock AgentCore that would have allowed attackers to access all AgentCore agents within the same AWS account and region with a single manipulated command. The security company Zenity Labs published the vulnerabilities under the name „AgentCorruption" on October 9, 2026.
The security flaws affected AWS Bedrock, a platform through which companies gain access to AI models from various providers and can develop their own AI agents. A successful attack could have exposed internal agents, private user conversations, source code repositories and confidential access credentials.
Two vulnerabilities uncovered in the SDK
Researchers at the security company BeyondTrust identified two separate vulnerabilities in the Amazon Bedrock AgentCore SDK, as the company announced on October 6, 2026. In the first vulnerability, attackers could exploit an incomplete denylist to read temporary access credentials. To do so, they used specially crafted package names to bypass security controls and execute commands within the sandbox environment.
The second vulnerability, identified as CVE-2026-16796, emerged after AWS had closed the first flaw with version 1.6.1. Attackers abused the extras syntax of the pip package manager to bypass the updated validation.
Patches available
Amazon released version 1.18.1 of the Bedrock AgentCore SDK to fix both vulnerabilities identified by BeyondTrust. Version 1.6.1 had previously been released as an interim fix for the first vulnerability, before the second was discovered.
Risk to AWS infrastructure investments
The vulnerabilities concentrate risk in a central control layer and hit AWS at a point where customers depend heavily on the company's services. The timing of the disclosure coincides with significant AI infrastructure investments by Amazon: according to the company, it has entered into commitments of 225 billion US dollars for its Trainium AI chip. The chip business is expected to reach annual revenue of over 25 billion US dollars and to contribute to the high-margin AWS division.
AgentCorruption illustrates the potential risks of these large infrastructure investments. Security flaws that could disrupt workloads or delay contract signings have a greater impact when investments are high.
Timeline
On September 29, 2026, vulnerabilities in AgentCore that could expose AWS credentials were first reported. BeyondTrust published a detailed analysis of the two SDK vulnerabilities on October 6, 2026. The AgentCorruption disclosure by Zenity Labs followed on October 9, 2026, and the availability of the patches was confirmed on October 10, 2026.
Earlier vulnerabilities in Bedrock
AWS Bedrock has also been affected by security flaws in the past. In March 2026, a vulnerability became known that enabled data exfiltration via DNS leaks. AWS rated this flaw at 7.5 out of 10 points severity. In December 2025, the company chose to update the documentation rather than release another patch.
Unit 42 of Palo Alto Networks uncovered critical vulnerabilities in the sandbox of Amazon Bedrock AgentCore in April 2026 and demonstrated DNS tunneling as well as the exposure of access credentials.
Sources
- Amazon.com (AMZN) Patched Bedrock AgentCore Security Flaws After AgentCorruption Disclosure
- Amazon patches AgentCore flaws exposing AWS credentials — Arabian Post
- Two flaws in Amazon Bedrock AgentCore SDK could expose AWS credentials | news | MSSP Alert
- AWS Bedrock AgentCore SDK Flaws Risk AWS Credentials
- 'AgentCorruption' Puts AWS Environments at Risk With Single Prompt
- AWS Bedrock tool vulnerability allows data exfiltration via DNS leaks | brief | SC Media
- Cracks in the Bedrock: Escaping the AWS AgentCore Sandbox