BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-47928 in Full products

Critical 9.1

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...

Affects 0 products from 4 vendors. Facts below cite their sources.

CVSS 3.19.1
EPSS1.1%
EPSS percentile64th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Full — —
Github — —
Python — —
Spotify — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-47928
BreachSpider IDBS-2025-GLOBAL-245118-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2025-05-15
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-488: CWE-488

Related attack patterns (CAPEC)

CAPEC-59 Session Credential Falsification through Prediction via CWE-488

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-488

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2025-47928 in Spotipy allows attackers to execute untrusted code with full access to secrets from the base repository by exploiting the use of `pull_request_target` in the GitHub Actions workflow.

The vulnerability arises from the use of `pull_request_target` in the `.github/workflows/integration_tests.yml` file, which checks out the head.sha of a forked pull request. This allows attackers to run malicious code in the context of the base repository, potentially accessing sensitive information stored in secrets.

Questions

What is CVE-2025-47928?

CVE-2025-47928 in Spotipy allows attackers to execute untrusted code with full access to secrets from the base repository by exploiting the use of `pull_request_target` in the GitHub Actions workflow.

What is the CVSS score for CVE-2025-47928?

CVE-2025-47928 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 1.1%.

Is CVE-2025-47928 actively exploited?

No confirmed active exploitation of CVE-2025-47928 as of 2026-09-25.

How do I remediate CVE-2025-47928?

Priority: IMMEDIATE. Advisory: https://github.com/spotipy-dev/spotipy/commit/4f5759dbfb4506c7b6280572a4db1aabc1ac778d

What systems are affected by CVE-2025-47928?

CVE-2025-47928 affects Full; Github; Python; Spotify.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Full","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.