Read the docs
TI-2020-19952 Aliases GHSA-49mg-94fc-2fx6

Command Injection in npm-git-publish

Priority LOW 38CWE-77Published · Updated

Key facts

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

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

Summary

All versions of `npm-git-publish` are vulnerable to Command Injection. The package fails to sanitize input and passes it directly to an `execSync` call, which may allow attackers to execute arbitrary code in the system. The `publish` function is vulnerable through the `gitRemoteUrl` variable. ## Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
—npm-git-publish (npm)0.0.0 and later—No fix listedGHSA-49mg-94fc-2fx6
  • npm-git-publish (npm) Vendor— Affected 0.0.0 and later Fixed in — No fix listed GHSA-49mg-94fc-2fx6

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-03 Threatist record created from GHSA-49mg-94fc-2fx6

References

Sources

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