CVE catalog

CVE-2019-16776

npm: CVE-2019-16776

[CVE catalog]

Severity
High · CVSS 7.7CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
3.42% · Oct 27, 2026

Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannpmsid12.2.0+ds1-1fixed
Debiannpmforky12.2.0+ds1-1fixed
Debiannpmtrixie9.2.0~ds1-3fixed
Debiannpmbookworm9.2.0~ds1-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannpmsourcesid6.13.4+ds-2not yet assignedNot reported[947127]
Debiannpmsourceforky6.13.4+ds-2not yet assignedNot reported[947127]
Debiannpmsourcetrixie6.13.4+ds-2not yet assignedNot reported[947127]
Debiannpmsourcebookworm6.13.4+ds-2not yet assignedNot reported[947127]

[Debian bug #947127]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [npm]Fixed
    Details (2)
    • 9.2.0~ds1-1 · all · bookworm

      Fixed · Fixed: 6.13.4+ds-2

      dsa · npm · debian · bookworm; dsa · npm · debian · 12

    • 9.2.0~ds1-1 · all · bookworm

      Fixed · Fixed: 6.13.4+ds-2

      dsa · npm · debian · bookworm; dsa · npm · debian · 12

[Debian 13 (Trixie)]

  • [npm]Fixed
    Details (2)
    • 9.2.0~ds1-3 · all · trixie

      Fixed · Fixed: 6.13.4+ds-2

      dsa · npm · debian · 13

    • 9.2.0~ds1-3 · all · trixie

      Fixed · Fixed: 6.13.4+ds-2

      dsa · npm · debian · 13

Observed:

References