Description
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.
Published: 2026-08-28
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary code execution as root
Action: Patch
AI Analysis

Impact

The vulnerability occurs in the aws:downloadContent plugin of amazon-ssm-agent, where the plugin does not correctly constrain the pathname used to write downloaded files. An authenticated remote user who can send the AWS-DownloadContent SSM document can supply a maliciously crafted object key that causes the agent to write files outside the intended download directory. This flaw can lead to overwriting critical system files and executing arbitrary code with root privileges.

Affected Systems

The issue affects installations of amazon-ssm-agent prior to version 3.3.4515.0 on Amazon Web Services environments. Any host running this agent and capable of receiving the AWS-DownloadContent document with S3 source references is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.7 reflects a high severity due to privilege escalation and code execution potential. The EPSS score is not available, so the likelihood of exploitation is uncertain, but the vulnerability is not listed in the CISA KEV catalog. Attackers need authenticated access to the SSM SendCommand service with the AWS-DownloadContent document permission and the ability to specify crafted S3 object keys. If obtained, this can result in root-level compromise of the host.

Generated by OpenCVE AI on August 28, 2026 at 22:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade amazon‑ssm‑agent to version 3.3.4515.0 or later, which limits the write path to the intended directory.
  • Audit and limit IAM policies granting ssm:SendCommand to avoid granting permissions for the AWS-DownloadContent document to arbitrary users.
  • Review existing AWS‑DownloadContent SSM documents and revoke or restrict any that specify untrusted S3 source locations or allow arbitrary object keys.

Generated by OpenCVE AI on August 28, 2026 at 22:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Amazon amazon Ssm Agent
Vendors & Products Amazon amazon Ssm Agent

Mon, 31 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Path traversal in the aws:downloadContent plugin in amazon-ssm-agent
First Time appeared Amazon
Amazon amazon-ssm-agent
Weaknesses CWE-23
CPEs cpe:2.3:a:amazon:amazon-ssm-agent:*:*:*:*:*:*:*:*
Vendors & Products Amazon
Amazon amazon-ssm-agent
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Amazon Amazon-ssm-agent Amazon Ssm Agent
cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-08-31T18:44:58.114Z

Reserved: 2026-08-27T16:22:32.726Z

Link: CVE-2026-81849

cve-icon Vulnrichment

Updated: 2026-08-31T18:44:53.990Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-28T20:20:13.940

Modified: 2026-08-31T19:17:15.310

Link: CVE-2026-81849

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T12:45:12Z

Weaknesses
  • CWE-23

    Relative Path Traversal