Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.8

npm 5.7.0 pre‑release can change system folder ownership

published 16 days ago
Summary

A pre‑release version of npm that may be installed automatically can unintentionally change who owns important system folders such as /etc and /usr. This can let a user who only has local access read or modify files they should not reach. It affects Docker hardened images for GitLab Rails and Workhorse that contain this npm version; upgrade npm to a newer safe version or rebuild the images with the corrected npm release.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
Docker Hardened Images:Alpine:3.24 docker hardened images gitlab-rails-18 All versions
Docker Hardened Images:Alpine:3.24 docker hardened images gitlab-rails-19 All versions
Docker Hardened Images:Alpine:3.23 docker hardened images gitlab-workhorse-fips All versions
Docker Hardened Images:Alpine:3.23 docker hardened images gitlab-workhorse All versions
Docker Hardened Images:Debian:13 docker hardened images gitlab-rails-18 All versions
Docker Hardened Images:Debian:13 docker hardened images gitlab-rails-19 All versions
Original advisory text
An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as "next: 5.7.0" and therefore automatically…
An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as "next: 5.7.0" and therefore automatically installed by an "npm upgrade -g npm" command, and also announced in the vendor's blog without mention of pre-release status). It might allow local users to bypass intended filesystem access restrictions because ownerships of /etc and /usr directories are being changed unexpectedly, related to a "correctMkdir" issue.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker full control (estimated)
Severity
7.8 High
Timeline
Published10 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
Track software like this
Free during beta