CVE-2025-52467: timescale pgai · Information Exposure
Affects timescale pgaiSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical : upgrade to 0.0.0 as a priority.
Data as of 25 Nov 2026, 14:03 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.0.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade timescale pgai to 0.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIpgaipkg:pypi/pgaiOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediate upgrade: European organizations using pgai should upgrade to the patched version at or beyond commit 8eb3567 to eliminate the vulnerability.
- Token scope reduction: Review and minimize the permissions of GITHUB_TOKEN used in workflows, restricting write permissions unless absolutely necessary.
- Secrets management: Implement robust secrets management practices, such as using GitHub Actions secrets vaults with strict access controls and rotating tokens regularly.
- Workflow audit: Conduct thorough audits of GitHub workflows to detect any exposure of secrets or tokens in logs, environment variables, or outputs.
- Monitoring and alerting: Enable monitoring for unusual repository activity, including unexpected pushes, branch creations, or release modifications.
- Access controls: Enforce least privilege principles for repository collaborators and integrate multi-factor authentication (MFA) for GitHub accounts.
- Incident response readiness: Prepare incident response plans specifically for supply chain compromise scenarios, including rapid token revocation and repository lockdown procedures.
- Dependency management: Track and manage dependencies on pgai carefully, ensuring that vulnerable versions are not used in production or CI/CD pipelines.
- Network segmentation: Where possible, isolate build and deployment environments to limit the blast radius of any compromise. These measures, combined with the patch, will significantly reduce the risk posed by this vulnerability.
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.