CVE-2014-9938Git-scm Git
High 8.8 No auth needed
Follow: this CVE · Git-scm · Git-scm Git We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Mar 20, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-116
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Git.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| git-scm | git | < 1.9.3 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory