Live threats

All CVEs / Gruntjs

CVE-2020-7729Gruntjs Grunt

High 7.1

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grunt.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
gruntjsgrunt< 1.3.0
debiandebian_linux9.0
canonicalubuntu_linux18.04

Official sources

References

Links published by the sources. Open them with care.