Vulnerability DatabaseGHSA-gm9x-q798-hmr4

GHSA-gm9x-q798-hmr4
JavaScript vulnerability analysis and mitigation

Overview

A Command Injection vulnerability was discovered in the git-tags-remote npm package, identified as GHSA-gm9x-q798-hmr4. The vulnerability affects all versions prior to 1.0.4 and was published to the GitHub Advisory Database on July 29, 2020. The package failed to properly sanitize repository input in the get function, potentially allowing attackers to execute arbitrary code (GitHub Advisory).

Technical details

The vulnerability stems from improper input sanitization where the repository input is passed directly to an exec call in the get function. The severity is rated as High with a CVSS score of 7.2. The vulnerability is classified as CWE-78 (Command Injection). The CVSS metrics indicate Network attack vector, Low attack complexity, High privileges required, and No user interaction needed, with High impact on Confidentiality, Integrity, and Availability (GitHub Advisory).

Impact

If exploited, this vulnerability could allow attackers to execute arbitrary code in the system when the repo value passed to the function is user-controlled. A proof-of-concept demonstrated the ability to create unauthorized files in the /tmp directory, indicating potential for more severe system compromise (GitHub Advisory).

Exploitability

The vulnerability can be exploited by passing malicious input to the get function. A proof-of-concept exploit was demonstrated using the command: gitTagsRemote.get('https://github.com/sh0ji/git-tags-remote.git; echo "Injection Success" > /tmp/command-injection.test') (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.0.4 of git-tags-remote. The fix involves replacing the vulnerable exec call with spawn for more secure input handling (Git Commit).

Community reactions

The vulnerability was reported through npm's security advisory system and was flagged as a critical vulnerability. Users raised concerns through GitHub issues seeking fixes for the vulnerability (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-88062CRITICAL9.5
  • JavaScript logoJavaScript
  • omniroute
NoNoSep 10, 2026
CVE-2026-61534CRITICAL9.1
  • JavaScript logoJavaScript
  • yayson
NoYesSep 11, 2026
CVE-2026-59973HIGH8.5
  • JavaScript logoJavaScript
  • @frontmcp/adapters
NoYesSep 11, 2026
CVE-2026-59960HIGH7.5
  • JavaScript logoJavaScript
  • @argos-ci/core
NoYesSep 10, 2026
CVE-2026-59965HIGH7.1
  • JavaScript logoJavaScript
  • @jhb.software/payload-alt-text-plugin
NoNoSep 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management