Timescale pgai
pgai secrets exfiltration via `pull_request_target`
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8eb356729c33560ce54b88b9a956960ad1e3ede8
Fixed in 8eb356729c33560ce54b88b9a956960ad1e3ede8
Mitigation
Upgrade pgai to 8eb356729c33560ce54b88b9a956960ad1e3ede8 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 suspicious or fake
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| pvharmo2/gha-lab-e8902eccd3 | 4 Sep 2026 +1.2 y | 0 | Suspicious · score 100
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.