# GHSA-8j6j-4h2c-c65p: Arbitrary Code Execution in require-node

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T17:02:52.000Z
- Modified: 2020-08-31T18:44:11.000Z
- Weaknesses: CWE-78

## Description

Versions of `require-node` prior to 1.3.4 for 1.x and 2.0.4 for 2.x are vulnerable to Arbitrary Code Execution. The package fails to sanitize requests to the `require-node` endpoint, allowing attackers to execute arbitrary code in the server through the injection of OS commands in the request body.


## Recommendation

- If you are using 1.x, upgrade to version 1.3.4 or later.
- If you are using 2.x, upgrade to version 2.0.4 or later.

(As written by GitHub Advisory Database.)

## Affected

- require-node (npm): before 1.3.4; from 2.0.0 before 2.0.4

## References

- <https://www.npmjs.com/advisories/1015> (web)

## Sources

- GitHub Advisory Database: [GHSA-8j6j-4h2c-c65p](https://github.com/advisories/GHSA-8j6j-4h2c-c65p), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-8j6j-4h2c-c65p · Whole record: https://cve.day/GHSA-8j6j-4h2c-c65p.json · Rebuilt by cve.day 2026-11-25T22:56:44.749Z
