Skip to content
CriticalVulnerability

CVE-2025-52467: pgai secrets exfiltration in a workflow exposing GITHUB_TOKEN

Identifier
CVE-2025-52467
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

pgai, a Python library that turns PostgreSQL into a retrieval engine for RAG and agentic applications, had a flaw before commit 8eb3567 in its repository. An attacker could exfiltrate every secret used in one workflow, including a GITHUB_TOKEN with write permissions, allowing tampering with all aspects of the repository, such as pushing arbitrary code and releases.

Mitigation

This issue has been patched in commit 8eb3567.