Every CVESearch/Get API key

CVE-2025-61659

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

6.8 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

0.14%Up 0.1 points since Sep 30, 2025
90%50%10%1%

What each source reports

CVE List Score used6.8

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

Record
CVE-2025-61659
CVSS 3.1
6.8 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Weakness
CWE-377
Updated
2026-11-02
EUVDEUVD-2025-315846.8

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

Record
EUVD-2025-31584
CVSS 3.1
6.8 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-r225-6x7c-4q3h6.8

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

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

Record
GHSA-r225-6x7c-4q3h
CVSS 3.1
6.8 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Weakness
CWE-377
Updated
2026-11-02
NVD6.8

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

Record
CVE-2025-61659
CVSS 3.1
6.8 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Weakness
CWE-377
Updated
2026-11-02
OSV6.8

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

Record
CVE-2025-61659
CVSS 3.1
6.8 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Weakness
CWE-377
Updated
2026-11-02
OSVopenSUSE-SU-2025:15770-1No score

bash-git-prompt-2.7.1-4.1 on GA media

These are all security issues fixed in the bash-git-prompt-2.7.1-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15770-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:20130-1No score

Security update for bash-git-prompt

This update for bash-git-prompt fixes the following issues:

  • CVE-2025-61659: Fixed an issue where predictable files in /tmp were used for a copy of the git index (bsc#1247489)
Record
openSUSE-SU-2025:20130-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
bash-git-prompt
openSUSE:Tumbleweed
before 2.7.1-4.1
2.7.1-4.1
bash-git-prompt
openSUSE:Leap 16.0
before 2.7.1-bp160.2.1
2.7.1-bp160.2.1

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-61659 is a medium vulnerability (CVSS 6.8) in Magicmonty Bash-git-prompt, published September 29, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.14%, the 3rd percentile. Fixed in bash-git-prompt 2.7.1-4.1.

References

MoveEnter Open