CVE-2026-81849 Affecting amazon-ssm-agent package, versions <0:3.3.4515.0-1.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.9% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-AMAZONSSMAGENT-21152091
  • published17 Oct 2026
  • disclosed28 Aug 2026

Introduced: 28 Aug 2026

CVE-2026-81849  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 amazon-ssm-agent to version 0:3.3.4515.0-1.amzn2 or higher.
This issue was patched in ALAS2-2026-3350.

NVD Description

Note: Versions mentioned in the description apply only to the upstream amazon-ssm-agent package and not the amazon-ssm-agent package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.