Directory Traversal Affecting nodejs20-libs-debuginfo 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.29% (21st 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-NODEJS20LIBSDEBUGINFO-15847515
  • published30 Mar 2026
  • disclosed20 Feb 2026

Introduced: 20 Feb 2026

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

How to fix?

Upgrade Amazon-Linux:2023 nodejs20-libs-debuginfo 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-libs-debuginfo package and not the nodejs20-libs-debuginfo 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. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hardlink inside the extraction directory that points to a file outside the extraction root, enabling arbitrary file read and write as the extracting user. Severity is high because the primitive bypasses path protections and turns archive extraction into a direct filesystem access primitive. This issue has been fixed in version 7.5.8.

CVSS Base Scores

version 3.1