Sandbox Breakout / Arbitrary Code Execution in pitboss-ngGHSA-3gpc-w23c-w59w
GHSA-3gpc-w23c-w59w is a remote code execution vulnerability in pitboss-ng. A fix is available for pitboss-ng — see the affected versions and patch details below.
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.
pitboss-ngnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | pitboss-ng | all versions | 2.0.0npm install pitboss-ng@2.0.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for pitboss-ng, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update pitboss-ng to 2.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-3gpc-w23c-w59w is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-3gpc-w23c-w59w in your dependencies?
Find it across npm, including transitive dependencies.