RewindexCVEsTimescale (Tiger Data)
CVE-2025-52467: pgai secrets exfiltration via `pull_request_target`
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N · CWE-200
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
timescale: pgai
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8 (opens in new tab)
- github.com/timescale/pgai/pull/742 (opens in new tab)
- github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)