Vulnerability in Magicmonty Bash-Git-Prompt

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L.

EPSS exploit prediction

EPSS: 0.001 (2.9th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 3rd percentile — 2.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-61659: held from 0.001 to 0.001.

EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-61659?
CVE-2025-61659 is a medium-severity vulnerability in Magicmonty Bash-Git-Prompt, classified under Insecure Temporary File. CVSS score: 6.8/10. Published 2025-09-29.
How severe is CVE-2025-61659?
Medium severity. CVSS v3 base score is 6.8 out of 10.
Is CVE-2025-61659 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.