---
id: "CVE-2026-89049"
kind: "vulnerability"
aliases: ["CVE-2026-89049"]
title: "AWS SSM Agent: port forwarding lets users reach instance IAM credentials"
severity: "critical"
cvss: 9.9
epss: 0.00662
exploited: false
status: "open"
category: "infrastructure"
products: []
ecosystems: []
tags: ["aws", "ec2", "iam", "infrastructure", "lab-disclosure", "on-premises", "systems-manager"]
not_affected_if: ["agent-3.3.4851.0-or-later", "no-remote-host-port-forwarding"]
published_at: "2026-09-10T19:17:42+00:00"
first_seen_at: "2026-10-24T19:28:15+00:00"
updated_at: "2026-10-25T12:38:49+00:00"
sources: [{"source": "lab", "url": "https://aws.amazon.com/security/security-bulletins/rss/2026-107-aws/", "first_seen_at": "2026-10-24T19:28:15+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89049", "first_seen_at": "2026-10-24T20:15:27+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-89049", "first_seen_at": "2026-10-25T12:38:49+00:00"}]
---

# AWS SSM Agent: port forwarding lets users reach instance IAM credentials

AWS Systems Manager Agent on managed nodes fails to match equivalent address forms against its remote-host denylist in Session Manager port forwarding. An authenticated user with port-forwarding permission can reach link-local endpoints and obtain the instance's temporary IAM role credentials.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed SSM Agent version on managed nodes, for example `amazon-ssm-agent -version` on Linux or the installed version in Windows Add/Remove Programs
- Confirm whether the AWS-StartPortForwardingSessionToRemoteHost document is used in your account, and which principals hold ssm:StartSession for it

## Fix

- Upgrade SSM Agent to `3.3.4851.0` or later on all managed nodes
- Until upgraded, restrict ssm:StartSession and SSM document permissions so untrusted principals cannot start remote-host port-forwarding sessions
- Patch any forked or derivative SSM Agent code with the new fixes

## Mitigated for you by

- Team (workaround): covers Untrusted principals starting remote-host port-forwarding sessions via the AWS-StartPortForwardingSessionToRemoteHost document Limits: none stated Still: Restrict ssm:StartSession IAM permissions and SSM document permissions so untrusted principals cannot start remote-host port-forwarding sessions, until SSM Agent is upgraded to 3.3.4851.0 https://aws.amazon.com/security/security-bulletins/rss/2026-107-aws/

## Timeline

- 2026-10-24T19:28:15+00:00 lab https://aws.amazon.com/security/security-bulletins/rss/2026-107-aws/ — AWS: CVE-2026-89049 - Server-side request forgery in the Session Manager port forwarding functionality in AWS Systems Manager Agent
- 2026-10-24T20:15:27+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-89049
- 2026-10-25T12:38:49+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-89049

## Documents

- [advisory] AWS: CVE-2026-89049 - Server-side request forgery in the Session Manager port forwarding functionality in AWS Systems Manager Agent https://aws.amazon.com/security/security-bulletins/rss/2026-107-aws/

## From the sources

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

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

Bulletin ID: 2026-107-AWS Scope: AWS Content Type: Important (requires attention) Publication Date: 09/10/2026 11:30 AM PDT

Description:

AWS Systems Manager Agent (SSM Agent) is software that runs on managed nodes (EC2 instances, on-premises servers, and other supported machines) and processes requests from the AWS Systems Manager service, enabling capabilities including Session Manager port forwarding to remote hosts. We identified CVE-2026-89049, a server-side request forgery issue in the remote-host port forwarding functionality. Due to improper validation of equivalent address representations, an authenticated user with port-forwarding permission could bypass the remote destination denylist and reach link-local endpoints, potentially obtaining the managed instance's temporary IAM role credentials and acting with that role's permissions from outside the instance.

Impacted versions: < 3.3.4851.0 (all versions supporting remote-host port forwarding)

Resolution:

This issue has been addressed in SSM Agent version 3.3.4851.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

Workarounds:

Until the agent is upgraded, restrict use of the AWS-StartPortForwardingSessionToRemoteHost document by scoping ssm:StartSession IAM permissions and SSM document permissions so that untrusted principals cannot start remote-host port-forwarding sessions.

References:

- CVE-2026-89049
- GHSA-w9jw-h72g-6hxc

 Please email aws-security@amazon.com with any security questions or concerns.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
