CVE-2025-47928
Last modified
CVE-2025-47928 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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). EPSS estimates a 0.40% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-47928?
How severe is CVE-2025-47928?
How do I fix CVE-2025-47928?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-47913SSH clients receiving SSH_AGENT_SUCCESS when expecting a typ…7.5
- CVE-2025-47914SSH Agent servers do not validate the size of messages when …5.3
- CVE-2025-47915Rejected reason: reserved but not needed
- CVE-2025-47916Invision Community 5.0.0 before 5.0.7 allows remote code exe…9.8
- CVE-2025-47917Mbed TLS before 3.6.4 allows a use-after-free in certain sit…9.8
- CVE-2025-4792A vulnerability was found in FreeFloat FTP Server 1.0 and cl…9.8
- CVE-2025-47929DumbDrop, a file upload application that provides an interfa…2.1
- CVE-2025-4793A vulnerability was found in PHPGurukul Online Course Regist…9.8
- CVE-2025-47930Zulip is an open-source team chat application. Starting in v…5.3
- CVE-2025-47931LibreNMS is PHP/MySQL/SNMP based network monitoring software…6.1
- CVE-2025-47932Combodo iTop is a web based IT service management tool. Vers…6.1
- CVE-2025-47933Argo CD is a declarative, GitOps continuous delivery tool fo…5.4
Are you affected by CVE-2025-47928?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
