Description
A security vulnerability has been detected in klaussilveira GitList 2.0.0. Affected by this vulnerability is the function getDefaultBranch of the file src/SCM/System/Git/CommandLine.php of the component Git Command Line. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 3.0.0-beta addresses this issue. The name of the patch is 88cf2866083d5f7c20d9d565c45f828a7ad1516b. Upgrading the affected component is advised.
Published: 2026-08-31
Score: 6.9 Medium
EPSS: 1.7% Low
KEV: No
Impact: Remote Command Execution via OS Command Injection
Action: Immediate Patch
AI Analysis

Impact

A function in the GitList application can be manipulated to inject arbitrary operating system commands. The injection occurs in the getDefaultBranch routine of the Git Command Line component when unsanitized input is passed to a shell. An attacker who can trigger this routine remotely can thus execute arbitrary commands on the host server, potentially compromising confidentiality, integrity, and availability of the system. This class of vulnerability is explicitly listed under CWE‑77 and CWE‑78. The CVSS score of 6.9 indicates moderate severity, and the exploit has been publicly disclosed and may be used in the wild.

Affected Systems

The flaw affects the GitList project released by the maintainer klaussilveira, specifically versions 2.0.0 and earlier. The component is identified in the source as src/SCM/System/Git/CommandLine.php. Versions 3.0.0‑beta and later incorporate a patch (commit 88cf2866083d5f7c20d9d565c45f828a7ad1516b) that removes the untrusted input usage and resolves the injection risk.

Risk and Exploitability

The vulnerability can be exercised remotely, as the description states the attack can be executed remotely. The EPSS score of 2% indicates a low but non‑zero probability of exploitation; however, the public disclosure and the existence of a known exploit imply that attackers could target vulnerable installations. The vulnerability is not listed in the CISA KEV catalog, but its moderate CVSS score warrants timely patching to prevent possible module compromise or higher‑level takeovers.

Generated by OpenCVE AI on August 31, 2026 at 15:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade GitList to version 3.0.0‑beta or later; apply the patch identified by commit 88cf2866083d5f7c20d9d565c45f828a7ad1516b.
  • If an upgrade is not immediately possible, validate or sanitize the branch name parameter before it is passed to the shell; remove or escape all characters that could result in command execution.
  • Configure the web application to run under a non‑privileged account that has only the minimal permissions required for version control operations, limiting the impact of any successful command injection.

Generated by OpenCVE AI on August 31, 2026 at 15:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Klaussilveira
Klaussilveira gitlist
Vendors & Products Klaussilveira
Klaussilveira gitlist

Mon, 31 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 31 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
Description A security vulnerability has been detected in klaussilveira GitList 2.0.0. Affected by this vulnerability is the function getDefaultBranch of the file src/SCM/System/Git/CommandLine.php of the component Git Command Line. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 3.0.0-beta addresses this issue. The name of the patch is 88cf2866083d5f7c20d9d565c45f828a7ad1516b. Upgrading the affected component is advised.
Title klaussilveira GitList Git Command Line CommandLine.php getDefaultBranch os command injection
First Time appeared Gitlist
Gitlist gitlist
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:a:gitlist:gitlist:*:*:*:*:*:*:*:*
Vendors & Products Gitlist
Gitlist gitlist
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Gitlist Gitlist
Klaussilveira Gitlist
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-31T10:26:49.683Z

Reserved: 2026-08-30T14:56:55.511Z

Link: CVE-2026-82668

cve-icon Vulnrichment

Updated: 2026-08-31T10:26:41.215Z

cve-icon NVD

Status : Deferred

Published: 2026-08-31T09:17:05.123

Modified: 2026-08-31T20:57:16.820

Link: CVE-2026-82668

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T21:21:46Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')