Skip to content
OpenAdvisories
High · 8.8 CVE-2026-81849 EUVD-2026-67855

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

Published Aug 28, 2026 · Updated Aug 31, 2026 · Assigned by AMZN

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

VendorProductAffectedFixed
amazon amazon-ssm-agent < 3.3.4515.0 3.3.4515.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 amazon-ssm-agent 3.3.4515.0-1.amzn2023 ALAS2023-2026-1813
Amazon Linux 2 amazon-ssm-agent 3.3.4515.0-1.amzn2 ALAS2-2026-3350

Advisories 2

References