CVE-2008-5516 in Git and 2 more products
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.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Git | Git | 0.99.9j 0.99.9k 0.99.9l 0.99.9m 0.99.9n 1.0.0+92 more1.0.0b 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.1.1 1.4.2 1.4.2.1 1.4.2.2 1.4.2.3 1.4.2.4 1.4.3 1.4.3.1 1.4.3.2 1.4.3.3 1.4.3.4 1.4.3.5 1.4.4 1.4.4.1 1.4.4.2 1.4.4.3 1.4.4.4 1.5.0 1.5.0.1 1.5.0.2 1.5.0.3 1.5.0.4 1.5.0.5 1.5.0.6 1.5.0.7 1.5.1 1.5.1.1 1.5.1.2 1.5.1.3 1.5.1.4 1.5.1.5 1.5.1.6 1.5.2 1.5.2.1 1.5.2.2 1.5.2.3 1.5.2.4 1.5.2.5 1.5.3 1.5.3.1 1.5.3.2 1.5.3.3 1.5.3.4 1.5.3.5 1.5.3.6 1.5.3.7 1.5.3.8 1.5.4 1.5.4.1 1.5.4.2 1.5.4.3 1.5.4.4 1.5.4.5 1.5.4.6 1.5.4.7 1.5.5 1.5.5.1 1.5.5.2 1.5.5.3 1.5.5.4 1.5.5.5 1.5.5.6 1.5.6.1 1.5.6.2 1.5.6.3 1.5.6.4 |
| Git-Scm | Git | 0.6.0 0.7.0 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Rpath Linux
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2008-5516 |
|---|---|
| BreachSpider ID | BS-2009-GLOBAL-326396-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2009-01-20 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2009. A high severity vulnerability affects Git systems (CVE-2008-5516). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2008-5516?
This vulnerability was disclosed in 2009. A high severity vulnerability affects Git systems (CVE-2008-5516). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2008-5516?
CVE-2008-5516 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 4.4%.
Is CVE-2008-5516 actively exploited?
No confirmed active exploitation of CVE-2008-5516 as of 2026-09-25.
How do I remediate CVE-2008-5516?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2008-5516?
CVE-2008-5516 affects Git Git; Git-Scm Git.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Git","product":"Git","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.