Home / spotipy-dev / spotipy / CVE-2025-47928
CVE-2025-47928: is it exploited, and which versions of spotipy-dev spotipy are affected and fixed?
CVE-2025-47928 is an exposure of Data Element to Wrong Session vulnerability in spotipy-dev spotipy. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: spotipy = 4f5759dbfb4506c7b6280572a4db1aabc1ac778d (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-47928?
Spotipy repo vulnerable to secrets exfiltration via `pull_request_target`
Spotipy is a Python library for the Spotify Web API. As of commit 4f5759dbfb4506c7b6280572a4db1aabc1ac778d, using `pull_request_target` on `.github/workflows/integration_tests.yml` followed by the checking out the head.sha of a forked PR can be exploited by attackers, since untrusted code can be executed having full access to secrets (from the base repo). By exploiting the vulnerability is possible to exfiltrate `GITHUB_TOKEN` and secrets `SPOTIPY_CLIENT_ID`, `SPOTIPY_CLIENT_SECRET`. In particular `GITHUB_TOKEN` which can be used to completely overtake the repo since the token has content write privileges. The `pull_request_target` in GitHub Actions is a major security concern—especially in public repositories—because it executes untrusted code from a PR, but with the context of the base repository, including access to its secrets. Commit 9dfb7177b8d7bb98a5a6014f8e6436812a47576f reverted the change that caused the issue.
From the CVE record by GitHub_M, last updated May 15, 2025, 20:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| spotipy-dev | spotipy | = 4f5759dbfb4506c7b6280572a4db1aabc1ac778d |
As the CVE record by GitHub_M states it, last updated May 15, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-47928?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-47928 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, May 15, 2025)
- EPSS
- 0.64% probability of exploitation activity in the next 30 days, percentile 52.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-488 Exposure of Data Element to Wrong Session
Where are the vendor advisories and references?
- https://github.com/spotipy-dev/spotipy/security/advisories/GHSA-h25v-8c87-rvm8 x_refsource_CONFIRM
- https://github.com/spotipy-dev/spotipy/commit/4f5759dbfb4506c7b6280572a4db1aabc1ac778d x_refsource_MISC
- https://github.com/spotipy-dev/spotipy/commit/9dfb7177b8d7bb98a5a6014f8e6436812a47576f x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 14, 2025
- Published
- May 15, 2025, 20:09 UTC
- CVE record updated
- May 15, 2025, 20:18 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:28 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect spotipy?
- Nov 26, 2025CVE-2025-66040 spotipy-dev spotipy: cross-site scripting (XSS)
- Feb 27, 2025CVE-2025-27154 spotipy-dev spotipy: insecure default permissions
- Jan 24, 2023CVE-2023-23608 spotipy-dev spotipy: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2025-47928
Is CVE-2025-47928 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.64% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of spotipy-dev spotipy are affected by CVE-2025-47928?
spotipy = 4f5759dbfb4506c7b6280572a4db1aabc1ac778d, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-47928?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-47928?
Critical (9.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-47928?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.