Skip to main content

Amazon SSM Agent CVE-2026-81849

| EUVDEUVD-2026-67855 HIGH
Relative Path Traversal (CWE-23)
2026-08-28 AMZN
8.7
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain AWS IAM credentials with ssm:SendCommand
  2. Delivery
    Upload path-traversal-keyed payload to attacker-controlled S3 bucket
  3. Exploit
    Invoke AWS-DownloadContent SSM document targeting managed instances
  4. Execution
    Agent writes traversal payload outside download directory as root
  5. Persist
    Overwrite sensitive system file (cron, sshd, sudoers, PAM)
  6. Impact
    Achieve persistent root code execution on managed fleet

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

Exploitation requires the attacker to hold valid AWS IAM credentials with the ssm:SendCommand permission, specifically when that permission is scoped or restricted to the AWS-DownloadContent SSM document type - a common least-privilege IAM configuration for content delivery automation. The attacker must also control an S3 bucket (or an S3 object path within a bucket) that they can direct the SSM document to retrieve from, and must be able to create S3 objects with key names embedding path traversal sequences. Unauthenticated internet access alone is not sufficient - a valid AWS API session is required. Exploitation is limited to instances running amazon-ssm-agent versions before 3.3.4515.0 with the aws:downloadContent plugin active. No user interaction on the target instance is required once the SSM command is issued. The primary limiting factor is the requirement for prior AWS credential compromise; the vulnerability does not enable initial access but amplifies the impact of a credential breach.

Impact

The vendor-assigned CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) accurately reflects the high potential impact but slightly understates the attack prerequisites. PR:L correctly captures that valid AWS IAM credentials with ssm:SendCommand permission are required - this is not unauthenticated internet exposure, and the attack surface is bounded to environments where an adversary already holds AWS credentials. The AC:L assessment from the vendor implies that once prerequisites are met, crafting the traversal payload is straightforward, which is consistent with the nature of path traversal bugs. No EPSS data was provided, preventing quantitative exploitation probability assessment. No CISA KEV listing and no public POC exist in the provided data, tempering urgency compared to actively exploited vulnerabilities. Real-world risk is highest for organizations where developer or service IAM roles have ssm:SendCommand scoped to AWS-DownloadContent - a common pattern in CI/CD pipelines - since those credentials represent a viable attacker foothold. The root-write primitive is particularly dangerous because it can target cron jobs, SSH authorized_keys, sudoers, or PAM configuration without requiring any additional privilege escalation step.

Exploit ScenarioDerived

An attacker who obtains AWS IAM credentials with ssm:SendCommand permission scoped to the AWS-DownloadContent document - for example via a phished developer, a leaked CI/CD service account key, or a compromised Lambda execution role - uploads a malicious file to an S3 bucket under their control using a key name containing path traversal sequences such as '../../etc/cron.d/pwned'. They issue an SSM RunCommand targeting one or more managed instances, directing AWS-DownloadContent to retrieve from their malicious bucket. The SSM agent on each target writes the file to /etc/cron.d/pwned as root, executing an attacker-controlled cron job on the next scheduled run and establishing persistent root-level access to the fleet.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Path traversal in the aws:downloadContent plugin of amazon-ssm-agent before 3.3.4515.0 allows an authenticated attacker with a specifically scoped ssm:SendCommand IAM permission to write arbitrary files outside the intended download directory with root privileges on targeted managed instances. By directing the AWS-DownloadContent SSM document to retrieve from a controlled S3 source containing crafted object keys with path traversal sequences, an attacker can overwrite sensitive system files and escalate to full remote code execution as root. No public exploit code or CISA KEV listing has been identified at time of analysis, but the root-privilege arbitrary write primitive represents a high-impact capability in compromised-credential scenarios.

RemediationAI

Upgrade amazon-ssm-agent to version 3.3.4515.0 or later as directed by the vendor advisory at https://aws.amazon.com/security/security-bulletins/2026-091-aws/ and confirmed at https://github.com/aws/amazon-ssm-agent/releases/tag/3.3.4515.0. AWS Systems Manager can auto-update the agent on managed instances; verify the current version via Fleet Manager in the AWS console or by running 'amazon-ssm-agent --version' on individual instances. For compensating controls prior to patching, add an explicit IAM Deny on ssm:SendCommand with a Condition of 'ssm:DocumentName': 'AWS-DownloadContent' for roles that should not require this document - note this will block legitimate download automation and should be reviewed for operational impact. Additionally, audit AWS CloudTrail for ssm:SendCommand events referencing the AWS-DownloadContent document and cross-reference the S3 sources specified in those calls for unexpected or externally-controlled bucket ARNs. Restrict S3 bucket policies to prevent unauthorized principals from uploading objects into buckets referenced by SSM automation documents.

Affected VersionsENISA

amazon-ssm-agent 0 <3.3.4515.0

Affected Packages

euvd amazon_ssm_agent fix: 3.3.4515.0

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

Amazon SSM Agent (CPE: cpe:2.3:a:amazon:amazon-ssm-agent:*:*:*:*:*:*:*:*) is the client-side daemon of AWS Systems Manager, running on managed EC2 and on-premises instances to execute SSM documents, run commands, and manage patch state. The aws:downloadContent plugin is responsible for fetching artifacts from S3 sources as specified in the AWS-DownloadContent SSM document. The vulnerability is a Relative Path Traversal (CWE-23): the plugin fails to canonicalize or validate S3 object key names before using them to construct local filesystem write paths, allowing traversal sequences such as '../../../etc/cron.d/backdoor' to escape the intended staging directory. Because amazon-ssm-agent runs as root, any resulting file write operates with full system privileges. The fix in version 3.3.4515.0, released 2026-05-21, applies BuildSafePath sanitization throughout the plugin - corroborated directly by the GitHub release notes entry 'Use BuildSafePath wherever it is applicable.'

Know when Amazon 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

Vendor (AMZN) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

AC:H because the attacker must control an S3 source and craft traversal-keyed objects before invoking the command; PR:L for the required ssm:SendCommand IAM permission; S:U as impact is contained to the targeted managed instance.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Improper limitation of a pathname to a restricted directory in the aws:downloadContent plugin in amazon-ssm-agent before 3.3.4515.0 might allow an authenticated remote user whose ssm:SendCommand permission is restricted to the AWS-DownloadContent document, to write arbitrary files outside the intended download directory with root privileges, via crafted object keys in the S3 source the document is directed to retrieve. This issue may lead to arbitrary code execution as root if specific sensitive files are overwritten.

To remediate this issue, customers should upgrade amazon-ssm-agent to version 3.3.4515.0 or later.

Executive ViewAI

Why It Matters

AWS Systems Manager Agent versions before 3.3.4515.0 contain a path traversal vulnerability enabling authenticated attackers with ssm:SendCommand IAM permissions to write arbitrary files as root on managed EC2 and on-premises servers. Organizations using AWS Systems Manager for infrastructure management face remote code execution and complete system compromise risk if Systems Manager credentials are compromised. No public exploit code has been identified at time of analysis, but the root-privilege arbitrary file write primitive presents severe operational impact in credential-compromise scenarios.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Medium
widely deployed in AWS-managed enterprise fleets, not universally used
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Amazon

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2024-28056 CRITICAL POC
9.8 Apr 15

Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify

CVE-2022-25809 CRITICAL POC
9.8 Feb 24

Improper Neutralization of audio output from 3rd and 4th Generation Amazon Echo Dot devices allows arbitrary voice comma

CVE-2021-44833 CRITICAL POC
9.8 Dec 12

The CLI 1.0.0 for Amazon AWS OpenSearch has weak permissions for the configuration file. Rated critical severity (CVSS 9

CVE-2019-3984 CRITICAL POC
9.8 Dec 31

Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due

CVE-2019-3989 CRITICAL POC
9.8 Dec 11

Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due

CVE-2023-35165 HIGH POC
8.8 Jun 23

AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in c

CVE-2022-31115 HIGH POC
8.8 Jun 30

opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. Rated high severity (CVSS 8.8), this vuln

CVE-2022-0070 HIGH POC
8.8 Apr 19

Incomplete fix for CVE-2021-3100. Rated high severity (CVSS 8.8), this vulnerability is low attack complexity. Public ex

CVE-2021-43638 HIGH POC
8.8 Dec 07

Amazon Amazon WorkSpaces agent is affected by Integer Overflow. Rated high severity (CVSS 8.8), this vulnerability is lo

CVE-2021-43637 HIGH POC
8.8 Dec 07

Amazon WorkSpaces agent is affected by Buffer Overflow. Rated high severity (CVSS 8.8), this vulnerability is low attack

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy