Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-27154

published high CVSS 4.0 · 8.4

Spotipy's cache file, containing spotify auth token, is created with overly broad permissions

Published
27 Feb 2025, 13:53:54 UTC
Updated
27 Feb 2025, 14:29:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
spotipy-dev — spotipy< 2.25.1 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Tumbleweed python311-spotipyaarch64 Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python311-spotipyppc64le Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python311-spotipys390x Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python311-spotipyx86_64 Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python312-spotipyaarch64 Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python312-spotipyppc64le Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python312-spotipys390x Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
Show 5 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed python312-spotipyx86_64 Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python313-spotipyaarch64 Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python313-spotipyppc64le Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python313-spotipys390x Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1
SUSE / openSUSE openSUSE-Tumbleweed python313-spotipyx86_64 Advisory build 2.25.1-1.1 OPENSUSE-SU-2025:14847-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.4 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
spotipy-dev spotipy < 2.25.1 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-276 CWE-276: Incorrect Default Permissions (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

Spotipy's cache file, containing spotify auth token, is created with overly broad permissions

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
a51a8dbbccdb82bf8383913d040fb797f738a66cb1362216f7d408a505a31f5a
Ingested
23 Sep 2026, 08:42:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected