{"id":"CVE-2020-7729","aliases":["CVE-2020-7729","GHSA-m5pj-vjjf-4m3h"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Code Execution","summary":"The package grunt before 1.3.0 are vulnerable to Arbitrary Code Execution due to the default usage of the function load() instead of its secure replacement safeLoad() of the package js-yaml inside grunt.file.readYAML.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The package grunt before 1.3.0 are vulnerable to Arbitrary Code Execution due to the default usage of the function load() instead of its secure replacement safeLoad() of the package js-yaml inside grunt.file.readYAML.","source":"cvelist"},{"lang":"es","text":"El paquete grunt versiones anteriores a 1.3.0, es vulnerable a una ejecución de código arbitraria debido al uso predeterminado de la función load() en lugar de su reemplazo seguro safeLoad() del paquete js-yaml dentro de grunt.file.readYAML","source":"nvd"}],"published":"2020-09-03T09:00:15.371Z","modified":"2026-09-10T03:49:05.039Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/RL:O","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/RL:O","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:S/C:P/I:P/A:P","score":4.6,"rating":"MEDIUM"}],"cwes":["CWE-1188"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.3.0","status":"affected"}],"product":"grunt","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.0"}],"ecosystem":"npm","package":"grunt","purl":"pkg:npm/grunt","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.3.0"}],"vendor":"gruntjs","product":"grunt","cpe":"cpe:2.3:a:gruntjs:grunt:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"18.04"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-GRUNT-597546","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00008.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://usn.ubuntu.com/4595-1/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7729","tags":["advisory"],"sources":["ghsa"]},{"url":"https://usn.ubuntu.com/4595-1","tags":["web"],"sources":["ghsa"]}],"credits":["Snyk Security Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7729","url":"https://www.cve.org/CVERecord?id=CVE-2020-7729","licence":"CVE Terms of Use","modified":"2024-09-17T01:45:50.965Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m5pj-vjjf-4m3h","url":"https://github.com/advisories/GHSA-m5pj-vjjf-4m3h","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:05.039Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7729","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7729","licence":"Public domain","modified":"2026-06-17T03:25:20.460Z"}],"updatedAt":"2026-11-25T22:57:54.497Z","epss":{"score":0.02304,"percentile":0.83807,"date":"2026-12-01T12:00:22.000Z"}}