CVE-2025-27154: Spotipy's cache file, containing spotify auth token, is created with overly broad permissions
spotipy-dev · spotipy
Affected: spotipy-dev · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 49% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- spotipy-dev · spotipy< 2.25.1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- February 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2025-27154 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-276cwe.mitre.org
- github.com/spotipy-dev/spotipy/security/advisories/GHSA-pwhh-q4hgithub.com
- github.com/spotipy-dev/spotipy/commit/1ca453f6ef87a2a9e9876f52b6github.com
- github.com/spotipy-dev/spotipy/blob/master/spotipy/cache_handlergithub.com
- github.com/spotipy-dev/spotipy/releases/tag/2.25.1github.com