GHSA-pwhh-q4h6-w599 · Severity: high · Ecosystem: pip — Spotipy's cache file, containing spotify auth token, is created with overly broad permissions
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.
Conclusion & alert: CVE-2025-27154 is rated High Exploit Risk (61.4/100): CVSS High severity, with low exploitation likelihood (EPSS 0.15%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-14 | 0.07% | 0.15% | +0.09% |
| 2 | 2025-06-29 | 0.04% | 0.07% | +0.02% |
| 3 | 2025-02-28 | — | 0.04% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.4 | 4.0 | HIGH |
|
— | — | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-pwhh-q4h6-w599 · Severity: high · Ecosystem: pip — Spotipy's cache file, containing spotify auth token, is created with overly broad permissions
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-27154 not yet assigned priority: Debian including 1 source packages (spotipy), 3 status rows across 3 suites (forky, sid, trixie): resolved 3. | https://security-tracker.debian.org/tracker/CVE-2025-27154 |
ubuntu
|
medium | CVE-2025-27154 medium priority: Ubuntu including 1 source packages (spotipy), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): DNE 3, ignored 2, needs-triage 2. | https://ubuntu.com/security/CVE-2025-27154 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| spotipy_project | spotipy | < 2.25.1 | cpe:2.3:a:spotipy_project:spotipy:*:*:*:*:*:*:*:* |