Vulnerability record · CVE-2014-4511 · published 22 July 2014
CVE-2014-4511: Gitlist unauthenticated command injection via URI file name
Gitlist · Gitlist
Gitlist before 0.5.0 passes the file name from the request URI into a shell command without sanitizing shell metacharacters, allowing remote command execution on the blame, file, and stats pages. Because the flaw is reachable without authentication, any network user who can reach the Gitlist instance can run arbitrary commands as the web server user.
Description
Gitlist before 0.5.0 allows remote attackers to execute arbitrary commands via shell metacharacters in the file name in the URI of a request for a (1) blame, (2) file, or (3) stats page, as demonstrated by requests to blame/master/, master/, and stats/master/.
AV:N/AC:L/Au:N/C:P/I:P/A:P
Automated analysis
critical priorityUnauthenticated remote code execution with public exploits and very high EPSS probability makes this an urgent patch target.
What it is
Gitlist before 0.5.0 passes the file name from the request URI into a shell command without sanitizing shell metacharacters, allowing remote command execution on the blame, file, and stats pages. Because the flaw is reachable without authentication, any network user who can reach the Gitlist instance can run arbitrary commands as the web server user.
Impact
An attacker gains arbitrary command execution on the host running Gitlist, which can lead to reading repository contents, stealing credentials, and full compromise of the web server account.
Attack surface
Reached over the network via crafted URIs to the blame, file, or stats pages; the CVSS vector AV:N/AC:L/Au:N indicates no authentication and no user interaction are required.
Exploitation
Public exploit code exists in Exploit-DB, Packet Storm, and a vendor-adjacent blog, and EPSS is 0.8273 (99.65th percentile), indicating high likelihood of exploitation; the CVE is not listed in CISA KEV.
What to do
- Upgrade Gitlist to 0.5.0 or later, which fixes the command injection.
- If upgrade is not possible, restrict network access to the Gitlist instance to trusted users only.
- Run Gitlist under a low-privilege account with no shell access and no access to sensitive files.
- Review web server and application logs for suspicious shell metacharacters in request URIs.
Detection
- Search web access logs for requests to blame/, file/, or stats/ paths containing shell metacharacters such as ;, |, $, `, or &&.
- Monitor for unexpected child processes spawned by the web server user (e.g., sh, bash, curl, wget).
- Alert on outbound network connections originating from the Gitlist host to unfamiliar destinations.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2014-4511 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2014-4511), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.