Directory Traversal Affecting nodejs20-docs package, versions <1:20.20.1-1.amzn2023.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (1st 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-NODEJS20DOCS-15920516
  • published7 Apr 2026
  • disclosed7 Mar 2026

Introduced: 7 Mar 2026

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

How to fix?

Upgrade Amazon-Linux:2023 nodejs20-docs to version 1:20.20.1-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2026-1484.

NVD Description

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

node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This issue has been patched in version 7.5.10.

CVSS Base Scores

version 3.1