# CVE-2025-52467: pgai secrets exfiltration via `pull_request_target`

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2025-06-19T02:50:51.240Z
- Modified: 2026-06-17T09:36:32.877Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

pgai is a Python library that transforms PostgreSQL into a retrieval engine for RAG and Agentic applications. Prior to commit 8eb3567, the pgai repository was vulnerable to an attack allowing the exfiltration of all secrets used in one workflow. In particular, the GITHUB_TOKEN with write permissions for the repository, allowing an attacker to tamper with all aspects of the repository, including pushing arbitrary code and releases. This issue has been patched in commit 8eb3567.

(As written by CVE List.)

## Affected

- timescale pgai: < 8eb356729c33560ce54b88b9a956960ad1e3ede8

## References

- <https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m>
- <https://github.com/timescale/pgai/pull/742>
- <https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8>

## Sources

- CVE List: [CVE-2025-52467](https://www.cve.org/CVERecord?id=CVE-2025-52467), CVE Terms of Use, modified 2025-06-23
- NVD: [CVE-2025-52467](https://nvd.nist.gov/vuln/detail/CVE-2025-52467), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52467 · Whole record: https://cve.day/CVE-2025-52467.json · Rebuilt by cve.day 2026-11-25T22:58:59.392Z
