# CVE-2025-61659: bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.

- Severity: Medium 6.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 6% of CVEs (2026-11-30)
- Published: 2025-09-29T00:00:00.000Z
- Modified: 2026-10-09T09:10:00.213Z
- Weaknesses: CWE-377
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.

(As written by CVE List.)

## Affected

- magicmonty bash-git-prompt: from 2.6.1 up to 2.7.1

## References

- <https://github.com/magicmonty/bash-git-prompt/issues/561>

## Sources

- CVE List: [CVE-2025-61659](https://www.cve.org/CVERecord?id=CVE-2025-61659), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2025-61659](https://nvd.nist.gov/vuln/detail/CVE-2025-61659), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2025-61659 · Whole record: https://cve.day/CVE-2025-61659.json · Rebuilt by cve.day 2026-11-25T22:59:05.308Z
