Unsafe Dependency Resolution Affecting @pnpm/building.policy package, versions <1100.0.8


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (6th 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-JS-PNPMBUILDINGPOLICY-17661052
  • published28 Jun 2026
  • disclosed26 Jun 2026
  • creditUnknown

Introduced: 26 Jun 2026

CVE-2026-55487  (opens in a new tab)
CWE-346  (opens in a new tab)
CWE-693  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade @pnpm/building.policy to version 1100.0.8 or higher.

Overview

@pnpm/building.policy is a Create a function for filtering out dependencies that are not allowed to be built

Affected versions of this package are vulnerable to Unsafe Dependency Resolution via the approval process for dependency sources. An attacker can execute unauthorized code during the build lifecycle by crafting a dependency source locator that collides with an approved source after normalization, thereby bypassing intended build policy restrictions.

CVSS Base Scores

version 4.0
version 3.1