spotipy is vulnerable to Incorrect Default Permissions
84
High Risk
Affected versions of this package set incorrect default permissions for the cache file created by the CacheHandler class to store the Spotify auth token. The file is created with rw-r--r-- (644) permissions instead of the more secure rw------- (600). This misconfiguration allows other users or processes on the machine to read the token, potentially exposing it to unauthorized access. If an attacker gains access to the token, they could use it to perform administrative actions on the associated Spotify account, depending on the granted scopes.
You are affected if you are using a version that falls within the vulnerable range.
spotipy is vulnerable to Incorrect Default Permissions in versions 0.1 - 2.25.0.
Upgrade the spotipy library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant