CVE-2014-9938: Git-Scm Git

High severity, CVSS 8.8. EPSS: 2.3% chance of exploitation in the next 30 days.

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.

Affected products

  • Git-Scm Git: before 1.9.3 (fixed in 1.9.3)

Published 2017-03-20. Last modified 2026-06-17.