# CVE-2020-7729: Arbitrary Code Execution

- Severity: High 7.1 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/RL:O`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.30%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-03T09:00:15.371Z
- Modified: 2026-09-10T03:49:05.039Z
- Also known as: GHSA-m5pj-vjjf-4m3h
- Weaknesses: CWE-1188
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- grunt: from unspecified before 1.3.0
- grunt (npm): before 1.3.0
- gruntjs grunt: before 1.3.0
- debian debian_linux: 9.0
- canonical ubuntu_linux: 18.04

## Every score

- snyk: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/RL:O`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:N/AC:H/Au:S/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-GRUNT-597546> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922> (third-party-advisory, web)
- <https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249> (broken-link, web)
- <https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7> (patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2020/09/msg00008.html> (mailing-list, third-party-advisory, web)
- <https://usn.ubuntu.com/4595-1/> (third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7729> (advisory)
- <https://usn.ubuntu.com/4595-1> (web)

## Sources

- CVE List: [CVE-2020-7729](https://www.cve.org/CVERecord?id=CVE-2020-7729), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-m5pj-vjjf-4m3h](https://github.com/advisories/GHSA-m5pj-vjjf-4m3h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-7729](https://nvd.nist.gov/vuln/detail/CVE-2020-7729), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7729 · Whole record: https://cve.day/CVE-2020-7729.json · Rebuilt by cve.day 2026-11-25T22:57:54.497Z
