Skip to content
OpenAdvisories
Medium · 6.8 CVE-2025-61659 EUVD-2025-31584GHSA-r225-6x7c-4q3h

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

Published Sep 29, 2025 · Updated Oct 15, 2025 · 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.

Affected products

VendorProductAffectedFixed
magicmonty bash-git-prompt 2.6.1 – ≤ 2.7.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bash-git-prompt 2.7.1-4.1 openSUSE-SU-2025:15770-1
openSUSE Leap 16.0 bash-git-prompt 2.7.1-bp160.2.1 openSUSE-SU-2025:20130-1

Advisories 2

References