{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-7408","published":"2018-02-22T18:29:00.253000Z","last_modified":"2026-06-17T02:03:05.407000Z","status":"Modified","cvss":{"version":"3.0","score":7.8,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-732"],"cpes":[{"criteria":"cpe:2.3:a:npmjs:npm:5.7.0:*:*:*:*:*:*:*","part":"a","vendor":"npmjs","product":"npm","version":"5.7.0"}],"cpes_truncated":false,"vendors":["npmjs"],"products":["npmjs/npm"],"epss":{"score":0.0032,"percentile":0.1753,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-ph34-pc88-72gc","ecosystem":"npm","name":"npm","purl":"pkg:npm/npm","ranges":[{"introduced":"0","fixed":"5.7.1"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2018-7408/","html_en":"/en/cve/CVE-2018-7408/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-7408","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-7408"},"untrusted":{"vendor_name":"Npmjs","product_name":"Npm","desc_en":"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.","affected":[],"references":[{"url":"http://blog.npmjs.org/post/171169301000/v571","tags":["Vendor Advisory"]},{"url":"https://github.com/npm/npm/commit/74e149da6efe6ed89477faa81fef08eee7999ad0","tags":["Third Party Advisory"]},{"url":"https://github.com/npm/npm/issues/19883","tags":["Issue Tracking","Third Party Advisory"]}]}}