{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-59194","id":"CVE-2026-59194","title":"pnpm: patch-remove could delete project-selected files outside the patches directory","description":"pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a crafted patch entry could resolve outside the configured patches directory and cause pnpm patch-remove to delete an arbitrary reachable file. This vulnerability is fixed in 10.34.4 and 11.7.0.","descriptionLong":"pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a crafted patch entry could resolve outside the configured patches directory and cause pnpm patch-remove to delete an arbitrary reachable file. This vulnerability is fixed in 10.34.4 and 11.7.0.","published":"2026-07-06T15:16:28.485Z","updated":"2026-10-28T02:31:11.780422120Z","reserved":"2026-07-02T19:53:48.831Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["pnpm"],"affectedProducts":[{"vendor":"pnpm","product":"pnpm","defaultStatus":null,"versions":[{"version":"< 10.34.4","status":"affected"},{"version":">= 11.0.0, < 11.7.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"pnpm","purl":"pkg:npm/pnpm","ranges":["<10.34.4",">=11.0.0 <11.7.0"],"fixed":["10.34.4","11.7.0"],"advisory":"GHSA-72r4-9c5j-mj57"}],"cwes":["CWE-22","CWE-73"],"aliases":["GHSA-72r4-9c5j-mj57"],"references":[{"url":"https://github.com/pnpm/pnpm/security/advisories/GHSA-72r4-9c5j-mj57","tags":["x_refsource_CONFIRM","Vendor Advisory","Exploit","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59194.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59194","tags":["advisory"]},{"url":"https://github.com/pnpm/pnpm/commit/612a2e6a7333f2b061f452a21b6e62c1c161747f","tags":["web"]},{"url":"https://github.com/pnpm/pnpm","tags":["package"]},{"url":"http://github.com/pnpm/pnpm/commit/352ae489f1b14ffdc19d2c6eacb1b06b098c2ddc","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00401,"epssPercentile":0.3514,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59194","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59194","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-59194","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-72r4-9c5j-mj57","ok":true,"note":"GHSA-72r4-9c5j-mj57"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59194","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}