CVE-2018-3785
Description
Command injection in git-dummy-commit v1.3.0 allows OS-level command execution through unescaped parameters.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Command injection in git-dummy-commit v1.3.0 allows OS-level command execution through unescaped parameters.
Vulnerability
The package git-dummy-commit version 1.3.0 and earlier for npm contains a command injection vulnerability. The bug resides in an unescaped parameter that directly passes user-controlled input to a shell command, allowing arbitrary OS-level commands to be executed [1], [2].
Exploitation
An attacker needs to provide a specially crafted input to the affected parameter, which is then passed to a shell function without proper sanitization or escaping. No special network position or authentication is required if the attacker can control the parameter value used by the package [1], [2].
Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands with the privileges of the process running the Node.js application. This can lead to full compromise of the system, including data exfiltration, data destruction, or further lateral movement [1], [2].
Mitigation
The vulnerable versions are <= 1.3.0. Users should upgrade to a patched version if available; as of the publication date (2018-08-17), no fix is mentioned in the references. The package may be considered abandoned or unmaintained. No workaround is provided. The CVE is not listed in CISA's Known Exploited Vulnerabilities catalog [1], [2].
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
git-dummy-commitnpm | <= 1.3.0 | — |
Affected products
2- https://github.com/stevemao/git-dummy-commitv5Range: Not fixed
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-h3c2-x77c-7pvrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-3785ghsaADVISORY
- hackerone.com/reports/341710ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.