In seven days, AWS published three security bulletins for three different pieces of AI agent tooling. On November 10, Kiro CLI was found writing session transcripts that other local users could read. On November 11, AWS disclosed a server-side request forgery in mcp-gateway-registry. On November 16, it disclosed a flaw in the Timestream for InfluxDB MCP server where prompt injection could make it send its API token to someone else.
None of the three bulletins says the flaws were exploited. All three have fixed versions. The reason to read them together is the pattern: each tool sits between an AI model and something that holds real access.
What happened
Kiro CLI, CVE-2026-124848. Kiro CLI is the command-line agent formerly called Amazon Q Developer CLI. AWS says versions from 1.16.0 up to 2.27.0 on macOS and Linux created session transcripts and prompt history files with permissions that let other local users on the same host read them. Those files hold prompts, model responses and tool output. If a session ever printed a credential or a block of source code, another account on that machine could read it. The fix is 2.27.0, and AWS says to launch it once after the upgrade so that existing session files are restricted to the owner.
mcp-gateway-registry, CVE-2026-125926. This is an open-source registry and gateway for MCP servers. In versions 1.0.3 through 1.34.0, the registry did not properly validate the upstream address of a registered server. AWS says an authenticated user with permission to register or modify a server could set an upstream address that made the gateway send requests to services on the deployment's internal network, and in some cases return the responses. The fix is 1.35.0. The upgrade does not change upstream addresses already stored, so AWS asks you to review them by hand.
Timestream for InfluxDB MCP server, CVE-2026-126681. This server lets an MCP client, such as an AI assistant, manage Amazon Timestream for InfluxDB resources. In versions 0.0.12 up to 0.0.19, it did not restrict which endpoints it connects to. AWS says a remote, unauthenticated actor could use prompt injection to put a crafted InfluxDB URL into the client's context, and the server could then send its configured InfluxDB API token to an endpoint the actor controls. The GitHub advisory rates it moderate, CVSS 5.5. AWS adds that no workaround fully fixes it, so the upgrade is the fix.
Why these matter more than their scores
Look at the third bug again. The attacker never logs in. They only need text that the model reads: a web page, an issue comment, a document, a database row. The model passes a URL to a tool. The tool trusts the URL and sends its token with the request.
That is the shape of most agent risk today. The model is not the part that holds the keys. The tool is. A tool that accepts a destination from the model, without its own check, turns any prompt injection into a credential leak.
The registry bug is the classic version of the same thing. SSRF in a component that runs on EC2 or in a container can reach the instance metadata service or internal admin APIs. AWS's own interim advice for it reads like a cloud hardening list: limit who can register servers, restrict outbound network access to the destinations the components need, require IMDSv2, and give each component's role only the permissions it needs.
The Kiro CLI bug is quieter. Transcripts of agent sessions are a new kind of sensitive file. They collect whatever the agent saw, including secrets pasted in by a person or printed by a tool. On a shared build host or a shared development box, file permissions decide who else gets that history.
What it means on AWS
All three tools are close to your AWS account.
- An MCP server for an AWS service runs with credentials for that service. The InfluxDB server holds an InfluxDB API token. Other AWS MCP servers hold an IAM role or a profile.
- A gateway or registry that fronts many MCP servers often runs on EC2, ECS or EKS with its own role. AWS's bulletin tells you to review that role's activity and rotate its credentials if you cannot rule out unexpected registrations.
- A developer CLI agent runs as the developer, with whatever is in
~/.aws.
So the useful question is not "is this AI tool safe?" but "what can this tool's identity do, and where can it send data?"
What to do this week
- Find every MCP server and agent CLI you run. Check developer machines, CI runners, shared hosts and any registry or gateway deployments. You cannot patch what you have not listed.
- Upgrade the three named tools. Kiro CLI to 2.27.0 or later, then launch it once. mcp-gateway-registry to 1.35.0 or later. awslabs.timestream-for-influxdb-mcp-server to 0.0.19 or later. Check forks and derived code, as each bulletin asks.
- Rotate what may have leaked. Rotate InfluxDB API tokens used with an affected version of the InfluxDB server. Review upstream addresses in the registry and remove any you did not set. On hosts where other people have accounts, treat old Kiro CLI transcripts as possibly read and rotate any secret that appears in them.
- Clean up old history files. If you ran Amazon Q Developer CLI 1.16.0 through 1.19.x, AWS says to delete or restrict
~/.aws/amazonq/.cli_bash_history. - Give each tool a narrow identity. A dedicated IAM role or token per MCP server, scoped to the actions it needs. For the InfluxDB server, AWS recommends the token with the least permissions until you upgrade.
- Control egress. An MCP server that talks to one AWS service does not need to reach the whole internet. Restrict outbound traffic with security groups, VPC endpoints or a firewall, and alert on new destinations. Egress rules turn "token sent to an attacker URL" into a failed connection.
- Require IMDSv2 on every instance that runs agent tooling, so that SSRF cannot simply read role credentials.
- Test each tool against prompt injection. For every tool your agents can call, ask: if the model passes a hostile URL, path or command here, what happens? Write that down as a test and run it after each upgrade.
- Keep untrusted content away from privileged tools. AWS says to avoid using the InfluxDB server with MCP clients that process untrusted content. The same rule is sound for any tool that holds a credential.
The short version
Three bulletins, three different bugs, one lesson. Agent tools are software with credentials, network access and logs, and they need the same review as any other service that holds keys. The difference is that their input can come from anyone who can put text in front of the model.
That is the kind of path Antivenom is built to test. Our AI red team runs only against your own systems, with your permission, and checks whether a tool can be steered into sending a credential or reaching an internal address. The AI blue team narrows the identity or the egress rule, and the red team runs the same test again to prove the path is closed.
For three more agent tool flaws from October that ended at cloud credentials, read MCP servers are a short path to your cloud credentials.