Directory Traversal Affecting prism package, versions <5.16.0-r27


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.17% (69th 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-WOLFILATEST-PRISM-23628938
  • published4 Dec 2026
  • disclosed1 Dec 2026

Introduced: 1 Dec 2026

NewCVE-2026-140238  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade Wolfi prism to version 5.16.0-r27 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream prism package and not the prism package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, newline splitting of PAX extended header records permits attacker-controlled entry attributes to be forged. Direct node-tar extraction without strip can overwrite a path within the extraction target. The npm execution chain additionally requires Windows strip:1 normalization, an overwrite of package.json, and later execution of the injected postinstall script; POSIX npm processing with strip:1 is not affected by that chain. This issue is fixed in version 8.0.0.