Vulnerability record · CVE-2014-9938 · published 20 March 2017
CVE-2014-9938: Git-scm git vulnerability
Git Scm · Git
contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in the PS1 variable, allowing a malicious repository to cause code execution.
Description
contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in the PS1 variable, allowing a malicious repository to cause code execution.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2017:2004 | Third Party Advisory |
| https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f | PatchThird Party Advisory |
| https://github.com/njhartwell/pw3nage | ExploitThird Party Advisory |
| https://access.redhat.com/errata/RHSA-2017:2004 | Third Party Advisory |
| https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f | PatchThird Party Advisory |
| https://github.com/njhartwell/pw3nage | ExploitThird Party Advisory |
Track CVE-2014-9938 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-9938), CISA KEV, FIRST EPSS (scores of 2026-11-16). This page is refreshed as NVD updates the record.