Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain IAM credentials with ssm:StartSession
-
DeliveryInitiate port-forwarding session via SSM API
-
ExploitCraft alternate link-local address (e.g., hex 0xa9fea9fe) as destination
-
InstallBypass uncanonalized IMDS denylist check
-
C2Proxy connection reaches 169.254.169.254
-
ExecuteRetrieve temporary IAM role credentials from IMDS
-
ImpactUse stolen credentials externally under instance-role permissions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold valid AWS IAM credentials that include ssm:StartSession (or ssm:StartPortForwardingSessionToRemoteHost) permission for the target managed instance - this is the primary limiting factor. The target instance must be running an unpatched SSM Agent (before 3.3.4851.0) and must have an IAM role attached (to have IMDS credentials worth stealing). Port-forwarding to remote hosts must be permitted by the SSM Session Manager preferences document in use (this is the default). No special network position is required; the attack proceeds entirely through the AWS SSM control plane API. Exploitation is constrained by: (1) the attacker needing valid ssm:StartSession IAM permissions; (2) the value of the attached IAM role - no role or a narrowly scoped role limits post-exploitation impact; (3) IMDSv2 enforcement on the instance, which adds token-based authentication to IMDS but does not prevent the SSRF itself from reaching the endpoint. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H) scores 8.5 and accurately reflects the attack profile: network-reachable, no special configuration, low privilege required, but scoped confidentiality impact on the vulnerable system (IAM credentials) and high subsequent-system impact (full role-level integrity and availability over AWS resources controlled by the role). The PR:L requirement is the primary limiting factor - the attacker must already hold a valid SSM session credential for the target instance, which typically requires IAM permissions like ssm:StartSession. This is not a zero-effort bar in enterprise environments, but lateral-movement or insider-threat scenarios make it realistic. No KEV listing and no public POC at time of analysis lower the urgency compared to unauthenticated SSRF. The actual blast radius depends entirely on the IAM role attached to the managed instance - an EC2 with broad permissions (e.g., AdministratorAccess) makes this a severe privilege escalation path; a narrowly scoped role limits impact. EPSS data is not provided. |
| Exploit ScenarioDerived | An attacker who holds IAM credentials with ssm:StartSession permission on a target EC2 instance initiates a port-forwarding session via the SSM API, specifying a destination host using an alternate numeric representation of 169.254.169.254 (e.g., hexadecimal 0xa9fea9fe or IPv6-mapped ::ffff:169.254.169.254). The unpatched SSM Agent fails to canonicalize this value, the denylist check passes, and the agent proxies the connection to IMDS. The attacker retrieves the temporary AWS IAM role credentials from http://169.254.169.254/latest/meta-data/iam/security-credentials/ and then uses those credentials from outside the instance to perform actions under the instance role's permissions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 10, 2026
SSRF in AWS Systems Manager Agent's port-forwarding feature allows an authenticated remote user to bypass the link-local address denylist and reach the EC2 Instance Metadata Service (IMDS), enabling theft of the managed instance's temporary IAM role credentials. The bypass exploits insufficient canonicalization of IP addresses before denylist evaluation - alternate representations of 169.254.169.254 (hex, decimal, IPv6-mapped, etc.) pass the check unblocked. With stolen credentials, the attacker can exercise the instance's full IAM role permissions from outside the instance. No public exploit identified at time of analysis, but the release notes confirm the fix explicitly canonicalizes IPs and extends the denylist to include ECS/EKS credential endpoints.
Earlier versions of this analysis (1)
Server-side request forgery in Amazon SSM Agent before 3.3.4851.0 lets an authenticated remote user abuse the port-forwarding-to-remote-hosts feature to defeat the remote-destination denylist and reach link-local endpoints such as the EC2 Instance Metadata Service (169.254.169.254). By supplying an alternate ('equivalent') representation of a denied link-local address, an attacker can pivot the agent into fetching the managed instance's temporary IAM role credentials and then act with that role's permissions from outside the instance. AWS (reporter AMZN) has released a fix; no public exploit is identified at time of analysis, though the release notes explicitly confirm the canonicalization gap.
RemediationAI
Vendor-released patch: 3.3.4851.0. Upgrade AWS SSM Agent to version 3.3.4851.0 or later on all managed instances; the release is available at https://github.com/aws/amazon-ssm-agent/releases/tag/3.3.4851.0. AWS typically delivers SSM Agent updates automatically to managed instances via Systems Manager; verify the deployed version with amazon-ssm-agent -version or the Systems Manager Fleet Manager console. As a compensating control while patching, restrict the IAM permissions of the managed instance's role to the minimum necessary (least privilege), so that even if credentials are stolen the blast radius is limited. Additionally, review and tighten IAM policies for users or roles that hold ssm:StartSession permissions against sensitive instances, as that is the required precondition for exploitation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AWS Systems Manager Agent (CPE: cpe:2.3:a:aws:amazon_ssm_agent:*:*:*:*:*:*:*:*) provides managed remote access and automation for EC2 and on-premises instances. Its port-forwarding feature proxies TCP connections from an authorized SSM session to a remote host:port. To prevent SSRF attacks against the AWS Instance Metadata Service (IMDS, 169.254.169.254) and ECS/EKS credential endpoints, SSM Agent maintains a denylist of link-local addresses. CWE-918 (SSRF) arises here because the denylist check did not canonicalize the supplied host before comparison, meaning that alternate numeric representations of a denied address (hexadecimal, octal, dotted-decimal integer, IPv6-mapped IPv4, etc.) evade the check. The GitHub release notes for 3.3.4851.0 confirm two fixes: adding ECS/EKS credential endpoints and loopback to the denylist, and canonicalizing IP addresses before the denylist check.
Know when AWS gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H
PR:L for required SSM session credential; S:C because stolen IAM creds impact resources outside the agent's scope; A:N as the SSRF causes no direct availability loss.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
4DescriptionCVE.org
A server-side request forgery issue due to improper validation of equivalent address representations in the port forwarding to remote hosts functionality in Amazon AWS Systems Manager Agent (SSM Agent) before 3.3.4851.0 on all platforms might allow an authenticated remote user to bypass the remote destination denylist and reach link-local endpoints, potentially obtaining the temporary IAM role credentials of a managed instance and acting with that role's permissions from outside the instance, via a crafted destination host value that uses an alternate representation of a denied link-local address.
To remediate this issue, users should upgrade to version 3.3.4851.0 or later.
Technical POC Analysis
CWE-918 Server-Side Request Forgery, with CWE-1289 Improper Validation of Unsafe Equivalence in Input.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
AWS Systems Manager Agent versions prior to 3.3.4851.0 contain a vulnerability allowing authenticated users to steal temporary AWS credentials from managed EC2 instances. Successful exploitation grants attackers the full IAM permissions of the compromised instance, creating a critical risk for any organization deploying SSM Agent across their EC2 fleet.
Apply vendor patch: AWS Systems Manager Agent 3.3.4851.0 or later. If immediate patching is unavailable, restrict network access to SSM service, disable port-forwarding feature if not required, and implement enhanced monitoring for IMDS credential access.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar
Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag
Broken access control in the VitaFit cloud API before the 2026-10-30 fix lets any authenticated account holder call POST
Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on
Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft
Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke
Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a
Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary
Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible
WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an
EUVD-2026-75674
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB