CVE-2025-52467CWE-200

pgai secrets exfiltration via `pull_request_target`

Critical · published June 19, 2025

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

🚨 A single commit was all it took for an attacker to access sensitive secrets in pgai! With the GITHUB_TOKEN in hand, they could push arbitrary code to your repository. 🔥 Imagine leaving your front door wide open for a thief because you thought you locked the back one. This vulnerability was like that, exposing your entire home while you believed your most valuable assets were safe inside. The consequences could be absolutely devastating! An attacker could exfiltrate all secrets from your workflow, including a GITHUB_TOKEN with write permissions. This means they could tamper with your repository, push unauthorized code, and wreak havoc on your entire project.

Put simply

Imagine leaving your front door wide open for a thief because you thought you locked the back one. This vulnerability was like that, exposing your entire home while you believed your most valuable assets were safe inside. This vulnerability allowed unauthorized access to sensitive tokens in the pgai library prior to commit 8eb3567, enabling attackers to manipulate repository content with elevated privileges.

What to do

The consequences could be absolutely devastating! An attacker could exfiltrate all secrets from your workflow, including a GITHUB_TOKEN with write permissions. This means they could tamper with your repository, push unauthorized code, and wreak havoc on your entire project. To protect your project, immediately update pgai to the latest version that includes commit 8eb3567. Review your repository settings to ensure that sensitive tokens are not exposed. Additionally, consider rotating any potentially compromised tokens for extra security. You've got this! Follow these steps, and you’ll have your defenses up in no time. 🛡️

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.00402 · 33.3th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2025-06-19T02:50Z
EPSS history
Timeline
  • 19 JUN 02:50Z
    pgai secrets exfiltration via `pull_request_target`
    cvelistv5