{"id":"CVE-2025-61659","aliases":["EUVD-2025-31584","GHSA-r225-6x7c-4q3h","openSUSE-SU-2025:15770-1","openSUSE-SU-2025:20130-1"],"status":"published","title":"bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has...","description":"bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.","severity":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00142,"percentile":0.03535,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-377"],"published":"2025-09-29T00:00:00Z","modified":"2026-10-28T02:30:22Z","fixes":[{"ecosystem":"openSUSE:Tumbleweed","package":"bash-git-prompt","fixed_in":["2.7.1-4.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 16.0","package":"bash-git-prompt","fixed_in":["2.7.1-bp160.2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"bash-git-prompt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1-4.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"bash-git-prompt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1-bp160.2.1"}]}]}],"products":[{"vendor":"magicmonty","product":"bash-git-prompt"}],"references":[{"url":"https://github.com/magicmonty/bash-git-prompt/issues/561","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61659","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-r225-6x7c-4q3h"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61659.json","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-61659","tags":["web"]},{"url":"https://bugzilla.suse.com/1247489","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-61659","description":"bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.","status":"published","published":"2025-09-29T00:00:00Z","modified":"2025-10-15T16:07:42.672Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T14:32:44.763463Z"}],"euvd":[{"id":"EUVD-2025-31584","description":"bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.","status":"published","published":"2025-09-29T00:00:00Z","modified":"2025-10-15T16:07:42Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:31:31.584227Z"}],"ghsa":[{"id":"GHSA-r225-6x7c-4q3h","title":"bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has...","description":"bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.","status":"published","published":"2025-09-29T18:33:13Z","modified":"2025-09-29T18:33:19Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T15:03:48.54074Z"}],"nvd":[{"id":"CVE-2025-61659","description":"bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.","status":"published","published":"2025-09-29T17:15:32.737Z","modified":"2026-10-09T09:10:00.213Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T14:11:33.36253Z"}],"osv":[{"id":"CVE-2025-61659","description":"bash-git-prompt 2.6.1 through 2.7.1 insecurely uses the /tmp/git-index-private$$ file, which has a predictable name.","status":"published","published":"2025-09-29T00:00:00Z","modified":"2026-10-28T02:30:22.984733848Z","cvss":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-377"],"updated_at":"2026-11-02T15:44:51.516975Z"},{"id":"openSUSE-SU-2025:15770-1","title":"bash-git-prompt-2.7.1-4.1 on GA media","description":"These are all security issues fixed in the bash-git-prompt-2.7.1-4.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-11-26T00:00:00Z","modified":"2026-03-23T04:54:11.096176Z","updated_at":"2026-11-02T16:58:37.810934Z"},{"id":"openSUSE-SU-2025:20130-1","title":"Security update for bash-git-prompt","description":"This update for bash-git-prompt fixes the following issues:\n\n- CVE-2025-61659: Fixed an issue where predictable files in /tmp were used for a copy of the git index (bsc#1247489)\n","status":"published","published":"2025-12-30T17:08:26Z","modified":"2026-03-23T04:54:17.968373Z","updated_at":"2026-11-02T16:58:38.101535Z"}]}}
