Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain AWS IAM credentials with ssm:SendCommand
-
DeliveryUpload path-traversal-keyed payload to attacker-controlled S3 bucket
-
ExploitInvoke AWS-DownloadContent SSM document targeting managed instances
-
ExecutionAgent writes traversal payload outside download directory as root
-
PersistOverwrite sensitive system file (cron, sshd, sudoers, PAM)
-
ImpactAchieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
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
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.
Apply vendor patch.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify
Improper Neutralization of audio output from 3rd and 4th Generation Amazon Echo Dot devices allows arbitrary voice comma
The CLI 1.0.0 for Amazon AWS OpenSearch has weak permissions for the configuration file. Rated critical severity (CVSS 9
Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due
Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due
AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in c
opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. Rated high severity (CVSS 8.8), this vuln
Incomplete fix for CVE-2021-3100. Rated high severity (CVSS 8.8), this vulnerability is low attack complexity. Public ex
Amazon Amazon WorkSpaces agent is affected by Integer Overflow. Rated high severity (CVSS 8.8), this vulnerability is lo
Amazon WorkSpaces agent is affected by Buffer Overflow. Rated high severity (CVSS 8.8), this vulnerability is low attack
EUVD-2026-67855
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB