Every CVESearch/Get API key

GHSA-49mg-94fc-2fx6

Command Injection in npm-git-publish

No score

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.

What each source reports

GitHub AdvisoriesNo score

Command Injection in npm-git-publish

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.

Record
GHSA-49mg-94fc-2fx6
Weakness
CWE-77
Updated
2026-11-02
OSVNo score

Command Injection in npm-git-publish

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.

Record
GHSA-49mg-94fc-2fx6
Weakness
CWE-77
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
npm-git-publish
npm
0.0.0 and laterNone known

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-49mg-94fc-2fx6 is a vulnerability with no CVSS score yet in npm-git-publish, published September 4, 2020. No source lists public exploit code. No source names a fixed version.

References

MoveEnter Open