Skip to main content

GitList EUVDEUVD-2026-68452

| CVE-2026-82668 MEDIUM
Command Injection (CWE-77)
2026-08-31 cna@vuldb.com GHSA-v64j-pgc3-qgc9
5.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker gains commit access to a hosted repository
  2. Delivery
    Commits malicious .gitattributes assigning textconv filter
  3. Exploit
    Commits executable shell script as textconv helper
  4. Install
    GitList user browses blame or diff view
  5. C2
    GitList calls git show/blame without --no-textconv
  6. Execute
    Git resolves and executes textconv helper from repository
  7. Impact
    Arbitrary commands run as web server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the targeted GitList instance serves a repository containing a .gitattributes file assigning a textconv filter (e.g., *.poc diff=poc) alongside a git config entry (diff.poc.textconv = ./rce.sh) and an executable shell script committed at the referenced relative path. The attacker must have git push access to that repository, or the repository must have been cloned from an attacker-controlled source that pre-embeds the malicious files. Exploitation is triggered by any GitList user visiting a commit diff or blame page for a file whose extension matches the configured filter - the browsing user requires no special privileges to trigger the server-side execution. GitList instances serving exclusively repositories with fully trusted committers and no externally-cloned repos are not exploitable. The committed script file must be executable by the OS user running the web server process.

Impact

The CVSS 4.0 score of 5.5 with impact metrics VC:L/VI:L/VA:L substantially understates real-world risk - executing arbitrary shell commands as the web server process is functionally equivalent to full server compromise within that privilege boundary, not a low-impact event. The AV:N/PR:N designation also conflicts with the practical prerequisite of commit access to push a malicious .gitattributes, a discrepancy that should be verified against the vendor's scoring rationale. A public PoC exists in the form of the patch's regression test, which explicitly demonstrates creating arbitrary files on the host filesystem, lowering the bar for weaponization. CISA KEV listing is absent and no EPSS data was provided, so quantified exploitation probability is unavailable. Exploitation is conditional on repository write access or untrusted repo ingestion (see exploitation_conditions), which moderates urgency for tightly controlled deployments; instances serving repositories with any external committers are at immediate risk and should treat patching as high priority regardless of the low nominal score.

Exploit ScenarioDerived

An attacker with commit access to a repository served by GitList pushes a crafted .gitattributes that assigns a textconv filter to a common file extension, along with a shell script committed at the configured path that exfiltrates /etc/passwd or writes a web shell to the document root. When any GitList visitor navigates to the blame or diff view for that repository, the server-side git blame or git show invocation silently executes the attacker's script under the web server process identity. The patch's regression test demonstrates this exact technique - a committed rce.sh creates a verifiable marker file on the host, confirming arbitrary code execution with no visible error to the browsing user.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 1.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

Git textconv injection in GitList 2.0.0 enables remote code execution on the server by exploiting repository-controlled .gitattributes textconv filter definitions. When a user browses a commit diff or blame view, GitList invokes git show or git blame without the --no-textconv guard, causing git to execute attacker-committed shell scripts as the web server process. A public proof-of-concept exists embedded in the patch's own regression test suite; the vulnerability is absent from the CISA KEV catalog at time of analysis.

RemediationAI

Upgrade to GitList 3.0.0-beta, available at https://github.com/klaussilveira/gitlist/releases/tag/3.0.0-beta, which incorporates fix commit 88cf2866083d5f7c20d9d565c45f828a7ad1516b adding --no-textconv to git show and git blame invocations. Note that 3.0.0-beta carries pre-release quality risk; assess stability before production deployment. If an immediate upgrade is not feasible, restrict GitList to serving only repositories where all committers are fully trusted and no external or anonymous write access exists. Running the GitList web process under a dedicated OS user with read-only access outside the repository root, no shell login, and blocked outbound network limits blast radius if exploitation occurs. Implementing a git pre-receive hook on the hosting server that rejects commits adding textconv entries to .gitattributes is an additional compensating control, with the trade-off that it also blocks legitimate textconv usage.

Affected VersionsENISA

GitList 2.0.0

Affected Packages

euvd gitlist no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GitList is an open-source PHP web interface for browsing Git repositories (github.com/klaussilveira/gitlist). The vulnerable code is in src/SCM/System/Git/CommandLine.php, where methods handling diff and blame rendering invoke git show and git blame without the --no-textconv flag. Git's textconv feature allows per-repository filter programs defined in .gitattributes (e.g., *.poc diff=poc) with a config entry (diff.poc.textconv = ./rce.sh) that instructs git to run the specified program when processing matching files in diffs or blame output. Without --no-textconv, GitList cannot prevent the execution of repository-controlled executables server-side. CWE-77 (Improper Neutralization of Special Elements in an OS Command) describes the root cause: attacker-influenced repository content directs OS-level command execution without sanitization. Notably, the CVE description incorrectly identifies getDefaultBranch as the vulnerable function; the actual fix targets diff and blame invocation paths, as confirmed by commit 88cf2866.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 5.5 MEDIUM
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
vuln.today AI 9.9 CRITICAL

Requires commit push access to deliver malicious .gitattributes (PR:L); textconv execution escapes web app boundary enabling full server-side RCE (S:C, C:H/I:H/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
1.7%
Top 25% exploitable
Prevalence
Low
niche self-hosted PHP git viewer with limited enterprise adoption
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 1.7%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy