Improper Privilege Management in shelljs
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-269.
Summary
### Impact Output from the synchronous version of `shell.exec()` may be visible to other users on the same system. You may be affected if you execute `shell.exec()` in multi-user Mac, Linux, or WSL environments, or if you execute `shell.exec()` as the root user. Other shelljs functions (including the asynchronous version of `shell.exec()`) are not impacted. ### Patches Patched in shelljs 0.8.5 ### Workarounds Recommended action is to upgrade to 0.8.5. ### References https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c/ ### For more information If you have any questions or comments about this advisory: * Ask at https://github.com/shelljs/shelljs/issues/1058 * Open an issue at https://github.com/shelljs/shelljs/issues/new
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | shelljs (npm) | before 0.8.5 | 0.8.5 | Patch available | GHSA-64g7-mvw6-v9qj |
- shelljs (npm) Vendor— Affected before 0.8.5 Fixed in 0.8.5 Patch available GHSA-64g7-mvw6-v9qj
Remediation
- Fix · GHSA-64g7-mvw6-v9qj shelljs (npm) Fixed in 0.8.5 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-64g7-mvw6-v9qj
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences