CVE-2014-9938

high
Published 2017-03-20 · Modified 2026-05-13
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v2
6.8
VIR risk
8.8

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.

Predictions

Exploit likelihood
92%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2014-9938

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2014-9938.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed1:2.0.0~rc2-1
debian debianbullseyefixed1:2.0.0~rc2-1
debian debianforkyfixed1:2.0.0~rc2-1
debian debiansidfixed1:2.0.0~rc2-1
debian debiantrixiefixed1:2.0.0~rc2-1

Application impact

VendorProductVersionsFixed
git-scmgit{"endExcluding":"1.9.3"}1.9.3

References

CWEs

CWE-116

Verify integrity in audit chain (admin only). AS-IS.