# GHSA-3gpc-w23c-w59w: Sandbox Breakout / Arbitrary Code Execution in pitboss-ng

- 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-04T15:02:06.000Z
- Modified: 2021-04-21T19:45:42.000Z

## Description

All versions of `pitboss-ng` are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context through `this.constructor.constructor` . This may allow attackers to execute arbitrary code in the system. Evaluating the payload `this.constructor.constructor('return process.env')()` prints the contents of `process.env`.
  
## Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

(As written by GitHub Advisory Database.)

## Affected

- pitboss-ng (npm): before 2.0.0

## References

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

## Sources

- GitHub Advisory Database: [GHSA-3gpc-w23c-w59w](https://github.com/advisories/GHSA-3gpc-w23c-w59w), CC-BY-4.0, modified 2021-04-21

---

Page: https://cve.day/GHSA-3gpc-w23c-w59w · Whole record: https://cve.day/GHSA-3gpc-w23c-w59w.json · Rebuilt by cve.day 2026-11-25T22:56:43.817Z
