CVE-2022-0144 is a high-severity (CVSS 7.1) Improper Privilege Management vulnerability in shelljs. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for shelljs — see the affected versions and patch details below.
Improper Privilege Management in shelljs/shelljs
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2022-0144.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
shelljsnpmDescription
shelljs is vulnerable to Improper Privilege Management
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | shelljs | all versions | 0.8.5npm install shelljs@0.8.5 |
Affected Products
shelljsshelljs_projectResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for shelljs, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update shelljs to 0.8.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-0144 is resolved across your whole dependency graph.
Workarounds
Close the privilege gap rather than the entry point: audit which accounts, roles and service identities can reach the affected operation, drop the component to the least privilege it actually needs, and review file and directory permissions created by earlier installs — a default left in place is what makes this reachable.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
In Red Hat Virtualization, ShellJSis a development dependency of ovirt-engine-ui-extensions and ovirt-web-ui. Vulnerable ShellJS code is not shipped with the product.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2.4 for RHEL 8 | rhacm2/console-rhel8:v2.4.3-13 | RHSA-2022:1476 |
Frequently Asked Questions
Is CVE-2022-0144 in your dependencies?
Find it across npm, including transitive dependencies.