What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: amazon-ssm-agent 3.3.4515.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-81849 or the next vulnerability affects your stack