Vulnerabilities/

degit has a Command Injection issue

Severity:
High

Description

Versions of the package degit before 2.8.6, from 3.0.0 and before 3.3.1 are vulnerable to Command Injection due to improper sanitisation of user input for git shell commands directly invoked with exec() method by _cloneWithGit() and fetchRefs() functions.

Recommendation

Update the degit package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
degit
Anything's wrong? Let us know Last updated on July 30, 2026