Skip to content
Threat Feed
high advisory

Remote Code Execution in GitList via OS Command Injection

GitList version 2.0.0 contains an OS command injection vulnerability in the getDefaultBranch function, allowing unauthenticated remote attackers to execute arbitrary system commands.

CVE search metadata

CVE search record: CVE-2026-82668. Severity: high. CVSS: 7.3. KEV: no. Product: GitList (2.0.0). Brief: Remote Code Execution in GitList via OS Command Injection. Brief link: https://feed.craftedsignal.io/briefs/2026-08-gitlist-rce/

A remote code execution vulnerability (CVE-2026-82668) exists in klaussilveira GitList version 2.0.0. The vulnerability resides within the getDefaultBranch function located in the file src/SCM/System/Git/CommandLine.php. An attacker can exploit this flaw by providing crafted, unsanitized input to the application, which is then concatenated into a system command and executed by the underlying server. Since the vulnerability can be triggered remotely without authentication, it poses a significant risk to any publicly facing GitList installation. Proof-of-concept exploit code has been publicly disclosed, increasing the likelihood of opportunistic exploitation. The vendor has addressed this issue in version 3.0.0-beta via patch 88cf2866083d5f7c20d9d565c45f828a7ad1516b. Users are strongly advised to upgrade their instances immediately to remediate the flaw.

Impact

Successful exploitation of this vulnerability results in full remote code execution on the host server. This allows an attacker to compromise the confidentiality, integrity, and availability of the repository server, potentially leading to unauthorized data access, further lateral movement within the network, or deployment of additional malware.

Recommendation

Prioritize the upgrade of all internet-facing GitList 2.0.0 instances to version 3.0.0-beta as indicated in the vendor security advisory. If immediate patching is not feasible, restrict network access to the GitList interface to trusted management networks and audit server logs for unusual process execution patterns stemming from the web server user context.


Immediate actions

Upgrade GitList from 2.0.0 to 3.0.0-beta

IT Operations 24h

Mitigations

Restrict external network access to the GitList management interface

immediate IT Operations

CVE-2026-82668