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

> CVE-2025-52467: pgai secrets exfiltration via `pull_request_target`. CVSS 9.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-52467
Last updated: 2026-06-17T09:36:32Z

- Published: 2025-06-19 02:50 UTC · Updated: 2026-06-17 09:36 UTC · Assigner: GitHub\_M
- CVSS: 9.1 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.40%, 34th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-200

## 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.

## Affected vendors and products

- timescale: pgai

## Tracked companies

- [Timescale (Tiger Data)](https://rewindex.com/company/timescale-tiger-data.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-52467)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-52467)
- [https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8](https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8)
- [https://github.com/timescale/pgai/pull/742](https://github.com/timescale/pgai/pull/742)
- [https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m](https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-52467 · Markdown: https://rewindex.com/cve/CVE-2025-52467.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-52467 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:10:18.810Z
