Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Spotipy versions before 2.25.1 create the token cache file with world-readable permissions (644) by default. A local user or process on the same machine could read the Spotify auth token from that file and use it to act on the Spotify account, depending on the token's granted scopes. The source gives no fix beyond upgrading. Upgrade to spotipy 2.25.1 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.4 | High | 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0061, the 50th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-pwhh-q4h6-w599
- OSV: GHSA-pwhh-q4h6-w599
- github.com/spotipy-dev/spotipy/security/advisories/GHSA-pwhh-q4h6-w599
- nvd.nist.gov/vuln/detail/CVE-2025-27154
- github.com/spotipy-dev/spotipy/commit/1ca453f6ef87a2a9e9876f52b6cb38d13532ccf2
- github.com/spotipy-dev/spotipy
- github.com/spotipy-dev/spotipy/blob/master/spotipy/cache_handler.py#L93-L98
- github.com/spotipy-dev/spotipy/releases/tag/2.25.1