{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-1537","published":"2022-05-10T14:15:08.403000Z","last_modified":"2026-06-17T04:22:38.090000Z","status":"Modified","cvss":{"version":"3.1","score":7.0,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-367"],"cpes":[{"criteria":"cpe:2.3:a:gruntjs:grunt:*:*:*:*:*:node.js:*:*","part":"a","vendor":"gruntjs","product":"grunt","version_end_excluding":"1.5.3"}],"cpes_truncated":false,"vendors":["gruntjs"],"products":["gruntjs/grunt"],"epss":{"score":0.00264,"percentile":0.11325,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rm36-94g8-835r","ecosystem":"npm","name":"grunt","purl":"pkg:npm/grunt","ranges":[{"introduced":"0","fixed":"1.5.3"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":42,"links":{"html_es":"/es/cve/CVE-2022-1537/","html_en":"/en/cve/CVE-2022-1537/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-1537","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-1537"},"untrusted":{"vendor_name":"Gruntjs","product_name":"Grunt","desc_en":"file.copy operations in GruntJS are vulnerable to a TOCTOU race condition leading to arbitrary file write in GitHub repository gruntjs/grunt prior to 1.5.3. This vulnerability is capable of arbitrary file writes which can lead to local privilege escalation to the GruntJS user if a lower-privileged user has write access to both source and destination directories as the lower-privileged user can create a symlink to the GruntJS user's .bashrc file or replace /etc/shadow file if the GruntJS user is root.","affected":[{"untrusted_vendor":"gruntjs","untrusted_product":"gruntjs/grunt","versions":[]}],"references":[{"url":"https://github.com/gruntjs/grunt/commit/58016ffac5ed9338b63ecc2a63710f5027362bae","tags":["Patch","Technical Description"]},{"url":"https://huntr.dev/bounties/0179c3e5-bc02-4fc9-8491-a1a319b51b4d","tags":["Exploit","Issue Tracking","Patch","Technical Description"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00006.html","tags":[]}]}}