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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | grunt | unspecified – < 1.3.0 | 1.3.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | grunt | 1.3.0-1 | — |
| Debian 13 | grunt | 1.3.0-1 | — |
| Debian 12 | grunt | 1.3.0-1 | — |
| Debian 9 | grunt | 1.0.1-5+deb9u1 | DLA-2368-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | grunt | 1.0.1-8ubuntu0.1 | USN-4595-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | grunt | 1.4.1-2ubuntu0.1~esm1 | USN-5847-1 |
| Ubuntu Pro 20.04 LTS | grunt | 1.0.4-2ubuntu0.1~esm1 | USN-5847-1 |
| Ubuntu Pro 18.04 LTS | grunt | 1.0.1-8ubuntu0.1+esm1 | USN-5847-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | js-jquery | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | grunt | < 1.3.0 | 1.3.0 | GHSA-m5pj-vjjf-4m3h |
Advisories 4
- WID-SEC-2026-2460 Atlassian Bamboo, Bitbucket, Confluence, Fisheye, Crucible, Jira und Jira Service Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2026
- USN-5847-1 grunt vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-2368-1 grunt - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-4595-1 grunt vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
References
- https://snyk.io/vuln/SNYK-JS-GRUNT-597546
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-607922
- https://github.com/gruntjs/grunt/blob/master/lib/grunt/file.js%23L249
- https://github.com/gruntjs/grunt/commit/e350cea1724eb3476464561a380fb6a64e61e4e7
- [debian-lts-announce] 20200909 [SECURITY] [DLA 2368-1] grunt security update mailing-list
- USN-4595-1 vendor-advisory