CVE-2020-7729Gruntjs Grunt
High 7.1
Follow: this CVE · Gruntjs · Gruntjs Grunt We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- Yes
- Published
- Sep 3, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1188
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Grunt.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | grunt |
< 1.3.0 |
1.3.0 |
npm install grunt@1.3.0 |
Per OSV / GitHub Advisories (GHSA-m5pj-vjjf-4m3h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gruntjs | grunt | < 1.3.0 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 18.04 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- snyk.io Third Party Advisory
- snyk.io Exploit Third Party Advisory
- usn.ubuntu.com Third Party Advisory