Skip to main content
VulnerabilityPublished

IMDS impersonation

Source AWS Security Bulletins

0
Severity
Medium

Rated by Threat Radar

Data as of 20 Aug 2026, 17:19 UTC

What to do

AI-suggested

AWS recommends that customers using AWS CLI, SDK, or SSM Agent outside the AWS data perimeter strictly follow the official installation and configuration guides to mitigate this issue. Additionally, organizations should monitor their on-premises networks for unexpected IMDS traffic, including connections to the IPv4 link-local endpoint 169.254.169.254, the IPv6 endpoint fd00:ec2::254, HTTP requests to AWS metadata paths (/latest/meta-data, /latest/api/token), and the presence of AWS metadata headers such as X-aws-ec2-metadata-token. Detection rules, such as those provided in SIGMA format, can be deployed in SIEM systems to identify potential impersonation attempts.

Description

Bulletin ID: AWS-2025-021 Scope: AWS Content Type: Important (requires attention) Publication Date: 2025/10/07 01:30 PM PDT Description: AWS is aware of a potential Instance Metadata Service (IMDS) impersonation issue that would lead to customers interacting with unexpected AWS accounts. IMDS, when running on an EC2 instance, runs on a loopback network interface and vends Instance Metadata Credentials, which customers use to interact with AWS Services. These network calls never leave the EC2 instance, and customers can trust that the IMDS network interface is within the AWS data perimeter. When using AWS tools (like the AWS CLI/SDK or SSM Agent) from non-EC2 compute nodes, there is a potential for a third party-controlled IMDS to serve unexpected AWS credentials. This requires the compute node to be running on a network where the third party has a privileged network position. AWS recommends that when using AWS Tools outside of the AWS data perimeter, customers follow the installation and configuration guides (AWS CLI/SDK or SSM Agent) to ensure this issue is mitigated. We also recommend that you monitor for IMDS endpoints that may be running in your on-prem environment to proactively prevent such impersonation issues from a third party. Affected versions: IMDSv1 and IMDSv2

References

Community reviews

Loading reviews…