CVE-2025-52467 CRITICAL

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

Vendor Timescale
Product pgai
Weakness CWE-200 · Info exposure
Published June 19, 2025
Last update June 23, 2025

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 19, 2025 CVE published
June 23, 2025 Record updated