Read the docs
TI-2019-16170 Aliases GHSA-28xh-wpgr-7fm8

Command Injection in open

Priority LOW 38CWE-77Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Code execution
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-77.

Summary

Versions of `open` before 6.0.0 are vulnerable to command injection when unsanitized user input is passed in. The package does come with the following warning in the readme: ``` The same care should be taken when calling open as if you were calling child_process.exec directly. If it is an executable it will run in a new shell. ``` ## Recommendation `open` is now the deprecated `opn` package. Upgrading to the latest version is likely have unwanted effects since it now has a very different API but will prevent this vulnerability.

Why it matters now

Fix Fixed open (npm): 6.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—open (npm)before 6.0.06.0.0Patch availableGHSA-28xh-wpgr-7fm8
  • open (npm) Vendor— Affected before 6.0.0 Fixed in 6.0.0 Patch available GHSA-28xh-wpgr-7fm8

Remediation

  • Fix · GHSA-28xh-wpgr-7fm8 open (npm) Fixed in 6.0.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-28xh-wpgr-7fm8

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences