CVE-2025-47928CWE-488

Spotipy repo vulnerable to secrets exfiltration via `pull_request_target`

Critical · published May 15, 2025

CVSS v3.1
9.1
EPSS
1%
Percentile
49.5
In the wild
Unconfirmed
What it is

🚨 An untrusted pull request can execute malicious code with full access to your GitHub secrets! 🔥 Think of it like giving a stranger the keys to your house because they brought a pizza. You trust the delivery, but once they're inside, they can snoop around and grab anything they want! An attacker could exploit this vulnerability to exfiltrate crucial secrets like your `GITHUB_TOKEN`, which grants them full control over your repository. Imagine losing all that hard work because someone walked off with your keys—absolute devastation!

Put simply

Think of it like giving a stranger the keys to your house because they brought a pizza. You trust the delivery, but once they're inside, they can snoop around and grab anything they want! The issue arises from the `pull_request_target` feature in GitHub Actions, allowing untrusted code execution with access to the base repository's secrets, making it a prime target for exploitation.

What to do

An attacker could exploit this vulnerability to exfiltrate crucial secrets like your `GITHUB_TOKEN`, which grants them full control over your repository. Imagine losing all that hard work because someone walked off with your keys—absolute devastation! Revert to commit 9dfb7177b8d7bb98a5a6014f8e6436812a47576f to eliminate the vulnerability. Review your GitHub Actions configurations to ensure sensitive secrets are only exposed to trusted code. Regularly audit your repository for untrusted PRs. You've got this! Secure your repo and keep those secrets safe! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00629 · 49.5th percentile
Weakness
CWE-488 · Exposure of Data Element to Wrong Session
Published
2025-05-15T20:09Z
EPSS history
Timeline
  • 15 MAY 20:09Z
    Spotipy repo vulnerable to secrets exfiltration via `pull_request_target`
    cvelistv5