Threat reportCloud SecurityTL-2026-7050
AgentCorruption: AWS Bedrock AgentCore agents reach IMDS via SSRF, exposing credentials across agents
Zenity Labs reported that AWS Bedrock AgentCore agents could reach the instance metadata service (IMDS) from inside their Firecracker microVMs, so a single prompt from an attacker with chat access to one exposed agent could return temporary IAM credentials for the default execution role. First disclosed .
Key facts
| Identifiers | TL-2026-7050, CVE-2026-18830 |
|---|---|
| Also known as | AgentCorruption |
| Severity | HIGH |
| First disclosed | |
| Affected products | Amazon Web Services Amazon Bedrock AgentCore (Runtime, Memory, Identity, Gateway) |
| Weaknesses (CWE) | CWE-918, CWE-269 |
| MITRE ATT&CK / ATLAS techniques | AML.T0051 LLM Prompt Injection, T1078.004 Valid Accounts: Cloud Accounts, T1190 Exploit Public-Facing Application, T1213 Data from Information Repositories, T1526 Cloud Service Discovery, T1550.001 Use Alternate Authentication Material: Application Access Token, T1552.005 Unsecured Credentials: Cloud Instance Metadata API, T1555.006 Credentials from Password Stores: Cloud Secrets Management Stores, T1580 Cloud Infrastructure Discovery |
| Motivation | UNKNOWN |
| Target sectors | technology, cloud, finance, health, government administration |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage
As of 2026-11-30, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7050 across Splunk SPL, Microsoft KQL and Sigma, covering 6 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: AgentCorruption - Cross-Agent Discovery and Invocation or Multi-Source Use of AgentCore Role Credentials (Lateral Movement)
Detects stolen AgentCore execution-role session credentials being used for cross-agent lateral movement: enumeration of agents via logs:DescribeLogGroups followed by bedrock-agentcore:InvokeAgentRuntime in the same session, or the same role session used from more than one source IP (runtime plus attacker infrastructure). Maps to cloud discovery, cloud account abuse and application access token reuse.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1550.001, T1078.004, T1580, T1526
- Data sources: aws:cloudtrail, index=aws, AWSCloudTrail
- Severity: high
- Confidence: medium
Splunk SPL
index=aws sourcetype="aws:cloudtrail" earliest=-24h "userIdentity.type"=AssumedRole
((eventSource="logs.amazonaws.com" eventName="DescribeLogGroups") OR (eventSource="bedrock-agentcore.amazonaws.com" eventName="InvokeAgentRuntime"))
| eval role='userIdentity.sessionContext.sessionIssuer.userName', session_arn='userIdentity.arn'
| where like(role,"%AgentCore%")
| eval is_enum=if(eventName="DescribeLogGroups",1,0), is_invoke=if(eventName="InvokeAgentRuntime",1,0)
| stats sum(is_enum) AS enum_calls sum(is_invoke) AS invoke_calls dc(sourceIPAddress) AS src_ip_count values(sourceIPAddress) AS src_ips min(_time) AS first_seen max(_time) AS last_seen BY session_arn role
| where (enum_calls>=1 AND invoke_calls>=1) OR src_ip_count>=2
| eval first_seen=strftime(first_seen,"%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen,"%Y-%m-%d %H:%M:%S")
| table session_arn role enum_calls invoke_calls src_ip_count src_ips first_seen last_seenMicrosoft KQL
AWSCloudTrail
| where TimeGenerated > ago(24h)
| where UserIdentityType == 'AssumedRole' and SessionIssuerUserName has 'AgentCore'
| where (EventSource == 'logs.amazonaws.com' and EventName == 'DescribeLogGroups')
or (EventSource == 'bedrock-agentcore.amazonaws.com' and EventName == 'InvokeAgentRuntime')
| summarize EnumCalls = countif(EventName == 'DescribeLogGroups'), InvokeCalls = countif(EventName == 'InvokeAgentRuntime'), SourceIpCount = dcount(SourceIpAddress), SourceIps = make_set(SourceIpAddress), Targets = dcount(RequestParameters), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by UserIdentityArn, SessionIssuerUserName
| where (EnumCalls >= 1 and InvokeCalls >= 1) or SourceIpCount >= 2
| project UserIdentityArn, SessionIssuerUserName, EnumCalls, InvokeCalls, Targets, SourceIpCount, SourceIps, FirstSeen, LastSeenSigma
title: AgentCore Execution Role Used for Agent Enumeration or Invocation From Non-AWS Source
id: b84a0e57-19d2-4c36-8f7b-3e6d1a52c9f8
status: experimental
description: Detects AgentCore execution-role sessions calling logs DescribeLogGroups (agent enumeration) or bedrock-agentcore InvokeAgentRuntime (cross-agent invocation) from a source other than an AWS service endpoint, consistent with stolen IMDS credentials being replayed (AgentCorruption, TL-2026-7050). Correlate by session ARN for multi-IP use.
references:
- https://labs.zenity.io/post/agentcorruption-how-a-single-prompt-collapsed-the-entire-cloud-security-model
author: Threadlinqs Team
date: 2026-11-30
tags:
- attack.lateral_movement
- attack.t1550.001
- attack.defense_evasion
- attack.t1078.004
- attack.discovery
- attack.t1580
- attack.t1526
logsource:
product: aws
service: cloudtrail
detection:
selection_role:
userIdentity.type: 'AssumedRole'
userIdentity.sessionContext.sessionIssuer.userName|contains: 'AgentCore'
selection_enum:
eventSource: 'logs.amazonaws.com'
eventName: 'DescribeLogGroups'
selection_invoke:
eventSource: 'bedrock-agentcore.amazonaws.com'
eventName: 'InvokeAgentRuntime'
filter_aws_service:
sourceIPAddress|endswith: '.amazonaws.com'
condition: selection_role and (selection_enum or selection_invoke) and not filter_aws_service
falsepositives:
- Legitimate orchestrator agents invoking sub-agents from the AgentCore runtime egress address
- Operators testing with role credentials from corporate egress IPs
level: highKnown false positives:
- Legitimate multi-agent architectures where an orchestrator agent invokes sub-agents via InvokeAgentRuntime
- Administrators or automation using the execution role from known corporate egress IPs
Tuning notes: InvokeAgentRuntime requires CloudTrail data event logging for AgentCore. Build an allowlist (lookup) of known runtime NAT/egress IPs and legitimate orchestrator-to-sub-agent pairs and exclude them; remaining src_ip_count>=2 sessions are high fidelity. The Sigma rule's .amazonaws.com filter only removes service-originated calls; also exclude your known egress CIDRs via a field filter in your backend pipeline.
- AgentCorruption - Prompt-Injected Agent Fetching IMDS Role Credentials, Sentinel View (Exploitation) · unlock with TL Creds
- AgentCorruption - Memory Poisoning and Conversation Theft via AgentCore Memory (Post-Exploitation, Persistence) · unlock with TL Creds
- AgentCorruption - Cross-Agent Enumeration, Invocation and Secrets Retrieval With Role Session Credentials (Lateral Movement) · unlock with TL Creds
- AgentCorruption - Agent Tool SSRF to IMDS Credentials Endpoint, Sigma View (Exploitation) · unlock with TL Creds
- AgentCorruption - Persistence via Planted AgentCore Memory Events From Execution Role (Post-Exploitation) · unlock with TL Creds
- AgentCorruption - Cross-Agent Discovery, Invocation and ECR Image Pull With AgentCore Role Credentials (Lateral Movement) · unlock with TL Creds
- AgentCorruption - AgentCore Agent Tool Request to IMDS Credentials Path (Exploitation) · unlock with TL Creds
- AgentCorruption - AgentCore Execution Role Reading Memory, Tool Secrets and ECR Images (Post-Exploitation) · unlock with TL Creds
Indicators of compromise
As of 2026-11-30, Threadlinqs Intelligence tracks 6 indicators of compromise for TL-2026-7050.
Technical analysis
That role was scoped region-wide, which let the attacker invoke other agents, read conversations, plant memories and pull secrets. AWS moved AgentCore to IMDSv2 on 2026-02-14 and reduced the default role's permissions before publication, while stating that the behavior is documented and expected.
Zenity Labs (Tamir Ishay Sharbat, Lana Salameh) published 'AgentCorruption' on 2026-10-08 (also presented at SecTor 2026 per press coverage). AWS Bedrock AgentCore agents run in Firecracker microVMs whose network isolation did not prevent access to the instance metadata service at 169.254.169.254. Any agent tool that makes HTTP requests therefore acts as an SSRF primitive. An external attacker with chat access to one exposed agent sends a single prompt injection that makes the agent query IMDS, which returns temporary IAM credentials for the agent's execution role. At the time of research AgentCore still used IMDSv1.
The default AgentCore execution role was over-privileged and scoped to all AgentCore resources in the region rather than to a single agent. Per Zenity, the stolen credentials allowed: enumeration of every agent and its ID via logs:DescribeLogGroups; invocation of any AgentCore agent in the region (InvokeAgentRuntime); pulling container images from ECR, because repository names match agent IDs; reading private conversations, users and sessions via ListEvents; planting persistent memories via CreateEvent on AgentCore Memory, which changes agent behavior and goals in future sessions; and retrieving tool credentials via GetResourceApiKey and secretsmanager:GetSecretValue (AgentCore Identity and Gateway secrets). Zenity's proof of concept showed compromise of all AgentCore agents in the same account and region from one prompt to one public-facing agent. The article is an overview; full request details are in four linked follow-up posts that were not retrieved, and no exploit payloads or IOCs are published in the sources.
Vendor response timeline: Zenity reported the IMDS access issue on 2025-12-25 and the over-privileged role on 2026-01-12. AgentCore became IMDSv2-only on 2026-02-14. AWS closed the first report as 'informative' on 2026-04-12. Zenity confirmed on 2026-06-22 that role permissions were unchanged, and on 2026-09-29 observed substantial role changes (removal of broad agent execution, conversation reading and cross-region Secrets Manager permissions). AWS states that the behavior is documented and expected and that developer error would be required for the attack; Zenity states the issue did not cross the account boundary and has been fully mitigated. Zenity also says the IMDS weakness is not specific to AWS and that it is checking other cloud platforms.
CVE status: a single aggregator (techjacksolutions.com) lists CVE-2026-18830 (CVSS 8.1, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) for this issue, but The Register's article mentions no CVE, no NVD record could be retrieved, and the CNA is not stated. This record therefore does not assert a CVE or CVSS score. Severity HIGH is an analyst judgment. No in-the-wild exploitation, threat actor or CISA KEV listing is reported.
MITRE ATT&CK / ATLAS techniques by tactic:
Execution
AML.T0051 LLM Prompt Injection
Defense Evasion
T1078.004 Valid Accounts: Cloud Accounts
Initial Access
T1190 Exploit Public-Facing Application
Collection
T1213 Data from Information Repositories
Discovery
T1526 Cloud Service Discovery; T1580 Cloud Infrastructure Discovery
Lateral Movement
T1550.001 Use Alternate Authentication Material: Application Access Token
Credential Access
T1552.005 Unsecured Credentials: Cloud Instance Metadata API; T1555.006 Credentials from Password Stores: Cloud Secrets Management Stores
Remediation
Patches
- AWS-side change: AgentCore IMDSv2-only as of 2026-02-14; default role permissions reduced by 2026-09-29 (per Zenity). No customer patch is published.
Immediate actions
- Review IAM execution roles attached to AgentCore agents and scope permissions to specific agents, memories and secrets rather than the whole region
- Confirm agents are deployed with IMDSv2 only; redeploy agents created before 2026-02-14
- Audit CloudTrail for InvokeAgentRuntime, ListEvents, CreateEvent, GetResourceApiKey and secretsmanager:GetSecretValue calls by AgentCore execution roles from unexpected sources
- Review AgentCore Memory contents for unexpected or injected entries
Workarounds
- Apply least-privilege custom execution roles; cross-account access requires explicit grants on both the execution role and the target resource (AWS guidance)
Longer-term hardening
- Treat any agent tool that makes outbound HTTP requests as a potential SSRF path and restrict egress to metadata endpoints
- Avoid co-locating sensitive and customer-facing agents in the same account and region without strong boundaries
- Restrict agent access to conversation logs, memory and secrets to what each agent needs
- Monitor for unusual memory writes and credential use outside the AgentCore runtime
Affected and fixed versions
- Amazon Web Services — Amazon Bedrock AgentCore (Runtime, Memory, Identity, Gateway)
Vulnerable versions: Agents deployed before the 2026-02-14 IMDSv2 change (IMDSv1 reachable); Default execution role as granted before 2026-09-29
Fixed in: IMDSv2-only for newly deployed agents from 2026-02-14; Reduced default role permissions observed by Zenity on 2026-09-29
Timeline
- Zenity Labs reports the IMDS access issue in AgentCore to AWS.
- Zenity reports the over-privileged default execution role and its blast radius.
- AWS moves AgentCore to IMDSv2-only; newly deployed agents launch with IMDSv2.
- AWS says it is working on the underlying issue; the default role is unchanged.
- AWS closes the first report as 'informative'.
- Zenity confirms the default role's permissions are still unchanged.
- Zenity observes substantial default-role changes during pre-publication review, removing broad agent execution, conversation reading and region-wide Secrets Manager access.
- Zenity Labs publishes 'AgentCorruption'.
- The Register publishes coverage; it is updated on 2026-10-12 with AWS's statement that the behavior is documented and expected, and Zenity's statement that the issue is fully mitigated.
- tl;dr sec #350 summarizes the research.
Sources cited
- AgentCorruption: How a Single Prompt Collapsed the Entire Cloud Security Model (Zenity Labs) labs.zenity.io · Research · 2026-10-08
- TechJack Solutions: CVE-2026-18830 (unverified CVE attribution, aggregator) techjacksolutions.com · Research · 2026-10-09
- tl;dr sec #350 tldrsec.com · News · 2026-10-15
- The Register: AgentCorruption coverage The Register · News · 2026-10-09
- Dark Reading: 'AgentCorruption' Puts AWS Environments At Risk With Single Prompt Dark Reading · News
- CSO Online: AWS's repeated problems with AI agent controls csoonline.com · News
- Let's Data Science: AWS Updated AgentCore After AgentCorruption Research, but Disputes the Finding letsdatascience.com · News
AI-drafted from 7 cited sources; published ; last updated —.