Versions of the package pacote from 11.2.7 are vulnerable to Denial of Service (DoS) via the addGitSha function. An attacker can exploit this vulnerability by supplying a specially crafted spec.rawSpec value that triggers the function’s regex replacement and string-manipulation logic, causing excessive CPU consumption and potentially stalling or crashing the process.
{
"nvd_published_at": "2026-05-26T07:16:19Z",
"github_reviewed_at": "2026-08-27T16:39:41Z",
"severity": "HIGH",
"github_reviewed": true,
"cwe_ids": [
"CWE-1333",
"CWE-400"
]
}