Live threats

All CVEs / Git-scm

CVE-2014-9938Git-scm Git

High 8.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Git.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
git-scmgit< 1.9.3

Official sources

References

Links published by the sources. Open them with care.