BACK TO THE WIRE
SW-000084AMAZON WEB SERVICES · AWS SYSTEMS MANAGER · AWS SYSTEMS MANAGER AGENT (SSM AGENT) · SESSION MANAGER PORT FORWARDING TO REMOTE HOSTSHIGHACTION REQUIRED

CVE-2026-89049: SSRF in SSM Agent port forwarding exposes IAM role credentials

AWS disclosed a server-side request forgery vulnerability in SSM Agent's Session Manager remote-host port forwarding feature. An authenticated user with port-forwarding permission could bypass the remote destination denylist to reach link-local endpoints and potentially retrieve the managed instance's temporary IAM role credentials, allowing actions with that role's permissions from outside the instance.

SECURITY · CLOUD · IDENTITY · VULNERABILITY · SECURITY ADVISORY

PUBLISHED SEP 21, 2026 16:03 UTC

WHAT CHANGED

CVE-2026-89049 affects all SSM Agent versions prior to 3.3.4851.0 that support remote-host port forwarding. The flaw stems from improper validation of equivalent address representations, letting an authenticated principal with ssm:StartSession and port-forwarding permissions bypass destination restrictions and reach link-local metadata-style endpoints. AWS has released SSM Agent 3.3.4851.0 to fix the issue and advises upgrading and patching any forked or derivative agent code.

WHY IT MATTERS

Successful exploitation lets an authenticated but otherwise untrusted principal obtain the managed EC2 instance's temporary IAM role credentials, enabling privilege escalation and use of those permissions outside the instance boundary. Administrators using AWS-StartPortForwardingSessionToRemoteHost should treat this as a credential-theft and lateral-movement risk until agents are patched or IAM/document permissions are tightened.

WHO IS AFFECTED

ROLES
Administrators managing EC2 instances and on-premises servers via AWS Systems ManagerIAM policy administrators
PRODUCTS
AWS Systems Manager Agent (SSM Agent)
FEATURES
Session Manager port forwarding to remote hosts (AWS-StartPortForwardingSessionToRemoteHost)
CONFIGURATIONS
SSM Agent versions prior to 3.3.4851.0 with remote-host port forwarding enabled
ENVIRONMENTS
EC2 instanceson-premises serversother SSM-managed nodes

WHAT TO DO

  1. 01
    CRITICALAUTOMATABLE

    Upgrade SSM Agent to version 3.3.4851.0 or later on all managed nodes.

    DOCUMENTATION
  2. 02
    HIGH

    Ensure any forked or derivative SSM Agent code incorporates the fix for CVE-2026-89049.

    DOCUMENTATION
  3. 03
    HIGHAUTOMATABLE

    Until upgraded, restrict ssm:StartSession IAM permissions and SSM document permissions to prevent untrusted principals from starting AWS-StartPortForwardingSessionToRemoteHost sessions.

    DOCUMENTATION

TIMELINE

ANNOUNCED
SEP 10, 2026

SOURCES

  • PRIMARY SOURCEAMAZON WEB SERVICES

    CVE-2026-89049 - Server-side request forgery in the Session Manager port forwarding functionality in AWS Systems Manager Agent

    PUBLISHED SEP 10, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED SEP 21, 2026 16:03 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?