Directory Traversal Affecting amazon-ssm-agent package, versions <0:3.3.5226.0-1.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.41% (34th 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-AMZN2023-AMAZONSSMAGENT-20245845
  • published29 Sept 2026
  • disclosed7 Aug 2026

Introduced: 7 Aug 2026

CVE-2026-71557  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 amazon-ssm-agent to version 0:3.3.5226.0-1.amzn2023 or higher.
This issue was patched in ALAS2023-2026-3110.

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:2023 relevant fixed versions and status.

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciously crafted reference name (for example containing directory-traversal sequences) can cause go-git to write files outside the intended reference storage directory. Versions 5.19.2 and 6.0.0-alpha.5 fix the issue.

CVSS Base Scores

version 3.1