CVE-2026-81849: Amazon amazon-ssm-agent - Path Traversal & Remote Code Execution
- Cve: CVE-2026-81849
- Name: Amazon amazon-ssm-agent - Path Traversal & Remote Code Execution
- 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.
- Impact: Authenticated users can write arbitrary files as root, potentially leading to arbitrary code execution with root privileges.
- Remediation: Upgrade to version 3.3.4515.0 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must be authenticated with ssm:SendCommand permission restricted to AWS-DownloadContent document
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00899
- Epss percentile: 0.60379
- Assignee: ff89ba41-3aa1-4d27-914a-91399e9639e5
- Published at: 2026-08-28T20:20:13Z
- Age in days: 88
- Modified at: 2026-08-31T19:17:15Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-81849
- Nvd status: awaiting_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-23 | Relative Path Traversal |
References
| Url | Source | Tags |
|---|---|---|
| https://aws.amazon.com/security/security-bulletins/2026-091-aws/ | nvd | |
| https://github.com/aws/amazon-ssm-agent/releases/tag/3.3.4515.0 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| amazon:amazon-ssm-agent | >= 0, < 3.3.4515.0 | no | cna | /v1/products/amazon/amazon-ssm-agent |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| aws/amazon-ssm-agent | fix, releases | yes | /v1/repositories/aws/amazon-ssm-agent |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts