Skip to content
Cloud Security Risk Assessment

IMDSv2

IMDSv2 is the session-oriented version of the AWS EC2 instance metadata service. It requires a token obtained with a PUT request before any metadata is returned, which blocks many request-forgery attacks that read credentials from the metadata address. Instances can be set to require IMDSv2 and reject version 1.

All terms ยท Start the assessment

An example, sourced

The metadata service check asks that IMDSv2 is required on all instances.

Why it matters here

On Cloud Security Risk Assessment the term appears in the rubric and on the platform pages; the example above was read on 16 Nov 2026 from the page under Sources.

Sources

  1. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html, read 16 Nov 2026

Last reviewed 16 Nov 2026.