All reports
Medium

ggit is vulnerable to Command Injection via the fetchTags(branch) API

Affected versions

Affected versions
<= 2.4.12
Fixed version
Not reported

Exploitation

CVE-2024-21532

Probability of exploitation in the next 30 days: 1.29%

FIRST EPSS · 2026-11-19

Description

All versions of the package ggit are vulnerable to Command Injection via the fetchTags(branch) API, which allows user input to specify the branch to be fetched and then concatenates this string along with a git command which is then passed to the unsafe exec() Node.js child process API.

Links