← Vulnerability feed

Vulnerability record · CVE-2008-5516 · published 20 January 2009

CVE-2008-5516: Git os command injection vulnerability

Git · Git

The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell metacharacters related to git_search.

7.5 CVSS 2.0 High EPSS 4.4% · top 9.1% CWE-78 · OS command injectionCWE-264 · Permissions and access controls
7.5CVSS 2.0 base score
4.4%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
34References
16 Jun 2026Last modified by NVD

Description

The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell metacharacters related to git_search.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512330
http://lists.opensuse.org/opensuse-security-announce/2009-01/msg00002.html
http://repo.or.cz/w/git.git?a=commitdiff%3Bh=c582abae
http://secunia.com/advisories/33964 Vendor Advisory
http://secunia.com/advisories/34194 Vendor Advisory
http://securityreason.com/securityalert/4919
http://wiki.rpath.com/Advisories:rPSA-2009-0005
http://www.debian.org/security/2009/dsa-1708
http://www.gentoo.org/security/en/glsa/glsa-200903-15.xml
http://www.openwall.com/lists/oss-security/2009/01/20/1
http://www.openwall.com/lists/oss-security/2009/01/21/7
http://www.openwall.com/lists/oss-security/2009/01/23/2
http://www.securityfocus.com/archive/1/500008/100/0/threaded
http://www.ubuntu.com/usn/USN-723-1
http://www.vupen.com/english/advisories/2009/0175 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=479715
https://issues.rpath.com/browse/RPL-2936
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512330
http://lists.opensuse.org/opensuse-security-announce/2009-01/msg00002.html
http://repo.or.cz/w/git.git?a=commitdiff%3Bh=c582abae
http://secunia.com/advisories/33964 Vendor Advisory
http://secunia.com/advisories/34194 Vendor Advisory
http://securityreason.com/securityalert/4919
http://wiki.rpath.com/Advisories:rPSA-2009-0005
http://www.debian.org/security/2009/dsa-1708
http://www.gentoo.org/security/en/glsa/glsa-200903-15.xml
http://www.openwall.com/lists/oss-security/2009/01/20/1
http://www.openwall.com/lists/oss-security/2009/01/21/7
http://www.openwall.com/lists/oss-security/2009/01/23/2
http://www.securityfocus.com/archive/1/500008/100/0/threaded
http://www.ubuntu.com/usn/USN-723-1
http://www.vupen.com/english/advisories/2009/0175 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=479715
https://issues.rpath.com/browse/RPL-2936

Track CVE-2008-5516 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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.0CVE-2025-48384Git config CRLF handling allows submodule path link-following code executionGit mishandles trailing carriage returns when writing config values, so a submodule path ending in CR is read back altered during submodule initializ…KEVEPSS 4.1%analysed9.8CVE-2022-23521Git gitattributes parsing integer overflow enables heap corruptionGit's gitattributes parser suffers multiple integer overflows when handling a huge number of path patterns, many attributes for one pattern, or very …EPSS 56%analysed9.8CVE-2022-41903Git-scm git integer overflow vulnerabilityGit is distributed revision control system. `git log` can display commits in an arbitrary format using its `--format` specifiers. This functionality …EPSS 44%9.8CVE-2022-25648Git argument injection vulnerabilityThe package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) fu…EPSS 4.9%9.8CVE-2014-9390Git clients execute commands via crafted .git/config on case-insensitive filesystemsGit, Mercurial, libgit2, JGit, EGit and Xcode mishandle crafted .git/config paths on Windows and OS X, allowing a remote repository to place a file t…EPSS 76%analysed9.8CVE-2019-1353Git-scm git vulnerabilityAn issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. When running …EPSS 2.2%9.8CVE-2018-19486Git-scm git untrusted search path vulnerabilityGit before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' were at the end of $PATH) in certain cases involv…EPSS 4.1%9.8CVE-2018-17456Git recursive clone argument injection enables remote code executionGit versions before the fixed releases mishandle a .gitmodules URL field that begins with a '-' character during recursive 'git clone' of a superproj…EPSS 97%analysed

Source: NIST National Vulnerability Database (record CVE-2008-5516), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.