Spotipy -- Spotipy's cache file, containing spotify auth token, is created with overly broad permissions
· CVE-2025-27154 · VuXML entry
[email protected] reports: Spotipy is a lightweight Python library for the Spotify Web API. The `CacheHandler` class creates a cache file to store the auth token. Prior to version 2.25.1, the file created has `rw-r--r--` (644) permissions by default, when it could be locked down to `rw-------` (600) permissions. This leads to overly broad exposure of the spotify auth token. If this token can be read by …
Affected versions
- py38-spotipy, py39-spotipy, py310-spotipy, py311-spotipy < 2.25.1
By system
0 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| DragonFly | audio/py-spotipy | 2.25.1_1 | fixed |