CVE-2026-81849

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductAmazon-ssm-agent
PublishedAug 28, 2026
First seenAug 28, 2026
Weakness typeCWE-23CWE-23

How to fix

Affected products

ProductAffected versionsFixed in
amazon amazon-ssm-agentv < 3.3.4515.03.3.4515.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.