Path traversal in the aws:downloadContent plugin in amazon-ssm-agent
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-81849
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:13 UTC · Revision 1
Source evidence
Path traversal in the aws:downloadContent plugin in amazon-ssm-agent
core-osv · Original sourcePublished 28 Aug 2026, 18:02 UTC
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.
osv:CVE-2026-81849
Complete source record
{
"id": "343e28172bee0591bb07dff5edec91745403937b8cac39196b90a9708f8dabee",
"url": "https://osv.dev/vulnerability/CVE-2026-81849",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Path traversal in the aws:downloadContent plugin in amazon-ssm-agent",
"summary": "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.",
"evidence": "osv:CVE-2026-81849",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-81849",
"aliases": [
"CVE-2026-81849"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/aws/amazon-ssm-agent",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b8acce1284383abb5ee86089912968b9af7c4025"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.3.4515.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "b8acce1284383abb5ee86089912968b9af7c4025"
}
],
"source": "REFERENCES_TAG",
"original_tag": "3.3.4515.0"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.3.4515.0"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"3.3.4364.0",
"3.3.4268.0",
"3.3.4177.0",
"3.3.4121.0",
"3.3.4108.0",
"3.3.3883.0",
"3.3.3797.0",
"3.3.3598.0",
"3.3.3572.0",
"v3.3.3270.0",
"3.3.3270.0",
"3.3.3185.0",
"v3.3.3050.0",
"3.3.3050.0",
"3.3.2958.0",
"3.3.2746.0",
"3.3.2656.0",
"3.3.2471.0",
"3.3.2299.0",
"3.3.1957.0",
"3.3.1802.0",
"3.3.1611.0",
"3.3.1345.0",
"3.3.1311.0",
"3.3.1230.0",
"3.3.1142.0",
"3.3.987.0",
"3.3.859.0",
"3.3.808.0",
"3.3.551.0",
"3.3.484.0",
"3.3.418.0",
"3.3.380.0",
"3.3.337.0",
"3.3.217.0",
"3.3.131.0",
"3.3.40.0",
"3.2.2222.0",
"3.2.2143.0",
"3.2.2086.0",
"3.2.2016.0",
"3.2.1798.0",
"3.2.1705.0",
"3.2.1630.0",
"3.2.1542.0",
"3.2.1478.0",
"3.2.1377.0",
"3.2.1297.0",
"3.2.1241.0",
"3.2.1186.0",
"3.2.1041.0",
"3.2.985.0",
"3.2.923.0",
"3.2.815.0",
"3.2.582.0",
"3.2.574.0",
"3.2.532.0",
"3.2.419.0",
"3.2.345.0",
"3.2.286.0",
"3.2.183.0",
"3.1.1927.0",
"3.1.1856.0",
"3.1.1767.0",
"3.1.1732.0",
"3.1.1634.0",
"3.1.1575.0",
"3.1.1511.0",
"3.1.1476.0",
"3.1.1446.0",
"3.1.1374.0",
"3.1.1260.0",
"3.1.1208.0",
"3.1.1188.0",
"3.1.1141.0",
"3.1.1080.0",
"3.1.1045.0",
"3.1.1004.0",
"3.1.941.0",
"3.1.821.0",
"3.1.804.0",
"3.1.715.0",
"3.1.634.0",
"3.1.630.0",
"3.1.501.0",
"3.1.459.0",
"3.1.426.0",
"3.1.338.0",
"3.1.282.0",
"3.1.192.0",
"3.1.127.0",
"3.1.90.0",
"3.0.1390.0",
"3.0.1295.0",
"3.0.1209.0",
"3.0.1181.0",
"3.0.1124.0",
"3.0.1031.0",
"3.0.882.0",
"3.0.854.0",
"3.0.755.0",
"3.0.732.0",
"3.0.655.0",
"3.0.603.0",
"3.0.529.0",
"3.0.502.0",
"3.0.222.0",
"2.3.193.0",
"2.3.136.0",
"2.3.117.0",
"2.3.68.0",
"2.3.50.0",
"2.2.800.0",
"2.2.619.0",
"2.2.607.0",
"2.2.546.0",
"2.2.493.0",
"2.2.392.0",
"2.2.355.0",
"2.2.325.0",
"2.0.767.0",
"2.0.805.0",
"2.0.796.0",
"2.0.790.0",
"v2.0.755.0",
"2.0.755.0",
"2.0.672.0",
"v2.0.633.0",
"2.0.599.0",
"v1.2.290.0",
"v1.2.252.0",
"v1.1.146.0",
"v1.1.145.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81849.json"
}
}
],
"modified": "2026-10-28T02:30:32.450433124Z",
"provider": "osv",
"references": [
"https://aws.amazon.com/security/security-bulletins/2026-091-aws/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81849.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-81849",
"https://github.com/aws/amazon-ssm-agent/releases/tag/3.3.4515.0"
],
"provider_metadata": {
"cwe_ids": [
"CWE-23"
],
"cna_assigner": "AMZN",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81849.json"
}
},
"related_cves": [
{
"value": "CVE-2026-81849",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499573,
"published_at": "2026-08-28T18:02:33.468+00:00"
}