CVE-2026-81849: Path traversal in the aws:downloadContent plugin in amazon-ssm-agent

Published Aug 28, 2026
·
Updated

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.

Affected Software

1 affected component
Amazon amazon-ssm-agent<3.3.4515.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade amazon-ssm-agent to a version that resolves this vulnerability.

    Fixed in 3.3.4515.0

Event History

Aug 28, 2026
CVE Published
via MITRE·06:02 PM
Data Sourced
via MITRE·06:02 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are exposed to exploitation?

Systems running amazon-ssm-agent before version 3.3.4515.0 are affected when an authenticated user has ssm:SendCommand permission limited to the AWS-DownloadContent document and can cause that document to retrieve crafted object keys from an S3 source.

2

What access does an attacker need?

The attacker needs authenticated AWS access with ssm:SendCommand permission for the AWS-DownloadContent document. No user interaction is required, and exploitation uses crafted S3 object keys supplied through the document's download source.

3

What is the potential impact on an affected managed instance?

The flaw can write files outside the intended download directory with root privileges. Overwriting specific sensitive files may allow arbitrary code execution as root.

4

What should be done if the agent cannot be upgraded immediately?

Restrict ssm:SendCommand access to the AWS-DownloadContent document so untrusted users cannot invoke it, and prevent untrusted S3 object keys from being retrieved through that document. Upgrade to amazon-ssm-agent 3.3.4515.0 or later as the remediation.

5

How can I determine whether an instance is affected?

Check whether the instance runs amazon-ssm-agent earlier than 3.3.4515.0. Also review whether any principals can send commands using the AWS-DownloadContent document and direct it to S3 sources they can influence.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203