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.

EPSS: 0.001 (3.2th percentile) — read the EPSS interpretation.

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.

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.