CVE-2025-61659Published Sep 29, 2025 · Sep 29Updated Oct 28
bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name
magicmonty bash-git-prompt
Medium6.8
magicmonty bash-git-prompt
bash-git-prompt 2.6.1 through 2.7.1 insecurely uses a predictably named /tmp/git-index-private$$ file. A local attacker may be able to target that file, but the input does not specify an outcome, authentication requirement, or need for user interaction.
Anyone running magicmonty bash-git-prompt versions 2.6.1 through 2.7.1 should check their installation.