CVE-2025-52467 Details
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.
A vulnerability in the Timescale pgai repository's GitHub Actions workflow allowed for the exfiltration of secrets, including the GITHUB_TOKEN with write permissions for the repository. This vulnerability existed in the workflow file '.github/workflows/huggingface-dataset.yml' and was present between March 21, 2025, and May 14, 2025. The issue has been patched by switching the event trigger from 'pull_request_target' to 'pull_request' and reducing the GITHUB_TOKEN's scope to read-only access.
The vulnerability has been fixed by updating the workflow to use the 'pull_request' event and by explicitly reducing the GITHUB_TOKEN's permissions to read-only. The HUGGINGFACE_HUB_TIMESCALE_TOKEN was also rotated.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 19, 2025CISA-ADP
Assessed Jun 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8 | [email protected] | Source CodeVendor |
| https://github.com/timescale/pgai/pull/742 | [email protected] | Issue TrackingVendor |
| https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| timescale pgai | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 19, 2025 | New CVE Received | [email protected] |
Volerion