HighFix available
git — security advisory
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.
- Products
- git
- Affected versions
- Not specified
- Fixed versions
- 1:2.0.0~rc2-1
- CVEs
- CVE-2014-9938
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 21:54 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2014-9938
git
Fixed versions: 1:2.0.0~rc2-1
git
Fixed versions: 1:2.0.0~rc2-1
git
Fixed versions: 1:2.0.0~rc2-1
Complete source record
{
"id": "b68d22471e2598aa8826da183fc42d005713d218bc527f7fb1f2db5e93e67cbc",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2014-9938",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2014-9938",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2014-9938",
"products": [
{
"name": {
"value": "git",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2.0.0~rc2-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2.0.0~rc2-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2.0.0~rc2-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2014-9938",
"aliases": [
"DEBIAN-CVE-2014-9938"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.0.0~rc2-1"
}
]
}
],
"package": {
"name": "git",
"purl": "pkg:deb/debian/git?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2014-9938.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.0.0~rc2-1"
}
]
}
],
"package": {
"name": "git",
"purl": "pkg:deb/debian/git?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2014-9938.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.0.0~rc2-1"
}
]
}
],
"package": {
"name": "git",
"purl": "pkg:deb/debian/git?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2014-9938.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T16:02:10.689436974Z",
"provider": "osv",
"upstream": [
"CVE-2014-9938"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2014-9938"
]
},
"related_cves": [
{
"value": "CVE-2014-9938",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 414842,
"published_at": "2017-03-20T00:59:00.16+00:00"
}