Vulnerability · Published Sep 29, 2025 · Assigned by mitre
CVE-2025-61659
Medium 6.8
In plain English
A medium-severity security flaw in bash-git-prompt from magicmonty. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).
Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.1%top 96.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| magicmonty | bash-git-prompt | 2.6.1 – through 2.7.1 |
Weakness: CWE-377 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L