Directory Traversal Affecting nodejs24-devel package, versions <1:24.15.0-1.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.41% (33rd 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-NODEJS24DEVEL-16350764
  • published3 May 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 nodejs24-devel to version 1:24.15.0-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1609.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs24-devel package and not the nodejs24-devel 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