Improper Input Validation Affecting prism package, versions <5.16.0-r27


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.83% (59th 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-23628920
  • published4 Dec 2026
  • disclosed1 Dec 2026

Introduced: 1 Dec 2026

NewCVE-2026-140235  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-436  (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. From 7.5.0 until 8.0.0, parseKV splits length-delimited PAX records on newline characters, so a newline inside a record value can drop the original field and turn a trailing fragment into a forged path, size, linkpath, or other entry attribute. Default extraction confines a forged path to the extraction root. When preservePaths is enabled, the forged path may instead be absolute or contain a parent-directory component. This issue is fixed in version 8.0.0.