CVE
CVE-2025-61659
published medium CVSS 3.1 · 6.8bash-git-prompt vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| magicmonty | — | bash-git-prompt2.6.1 through 2.7.1 · Other versions: unknown | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Leap-16.0 | bash-git-promptnoarch | Advisory build | 2.7.1-bp160.2.1 | OPENSUSE-SU-2025:20130-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bash-git-promptaarch64 | Advisory build | 2.7.1-4.1 | OPENSUSE-SU-2025:15770-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bash-git-promptppc64le | Advisory build | 2.7.1-4.1 | OPENSUSE-SU-2025:15770-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bash-git-prompts390x | Advisory build | 2.7.1-4.1 | OPENSUSE-SU-2025:15770-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bash-git-promptx86_64 | Advisory build | 2.7.1-4.1 | OPENSUSE-SU-2025:15770-1 |
Description
bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| magicmonty | bash-git-prompt | 2.6.1 through 2.7.1 (affected · semver)Default: unknown | mitre · cna |
Weaknesses
1- CWE-377 CWE-377 Insecure Temporary File
References
1Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 28c5978ddb22caaa7dd9a2b7040b1c04c43cdbc4e29e042c6d0124b6803b54db
- Ingested
- 23 Sep 2026, 08:55:13 UTC
- Source record
- Official CVE record