
CVE catalog
CVE-2025-27154
python311-spotipy-2.25.1-1.1 on GA media
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.61% · Oct 25, 2026
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 an attacker (another user on the machine, or a process running as another user), it can be used to perform administrative actions on the Spotify account, depending on the scope granted to the token. Version 2.25.1 tightens the cache file permissions.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | spotipy | 13 | 2.25.1-1 | fixed |
| Debian | spotipy | 14 | 2.25.1-1 | fixed |
| Opensuse | python-spotipy | tumbleweed | 2.25.1-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | spotipy | deb | 13 | 2.25.1-1 | Not reported | DEBIAN-CVE-2025-27154 | Not reported |
| Debian | spotipy | deb | 14 | 2.25.1-1 | Not reported | DEBIAN-CVE-2025-27154 | Not reported |
| Opensuse | python-spotipy | rpm | tumbleweed | 2.25.1-1.1 | Not reported | OPENSUSE-SU-2025:14847-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-spotipy]Unknown
Source package: [python-spotipy]
Details (1)
2.26.0-1.3· noarch · tumbleweedUnknown · Fixed:
2.25.1-1.1Version impact unknown
pypi · python-spotipy · opensuse · tumbleweed
- [python314-spotipy]Unknown
Source package: [python-spotipy]
Details (1)
2.26.0-1.3· noarch · tumbleweedUnknown · Fixed:
2.25.1-1.1Version impact unknown
pypi · python-spotipy · opensuse · tumbleweed
[Debian 13 (Trixie)]
- [python3-spotipy]Fixed
Source package: [spotipy]
Details (2)
2.25.1-1· all · trixieFixed · Fixed:
2.25.1-1pypi · spotipy · debian · 13
2.25.1-1· all · trixieFixed · Fixed:
2.25.1-1pypi · spotipy · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_14847-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-27154]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:14847-1]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-27154.json]
[FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]