CVE-2025-52467
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.
CVSS
- Version: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Base score: 9.1
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 0.40%
- Percentile among all scored CVEs: 32
- Score date: 10/5/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
🎯 ATT&CK techniques
How this vulnerability is exploited and what the attacker gains, in MITRE ATT&CK terms.
- Exploitation
T1190Exploit Public-Facing Applicationinitial access90 % - Primary impact
T1005Data from Local Systemcollection85 % - Secondary impact
T1556Modify Authentication Processdefense impairment · persistence · credential access75 %
Vulnerabilidad de exposición de secretos (CWE-200) en librería Python accesible por red sin autenticación (AV:N/PR:N). Permite exfiltración de GITHUB_TOKEN para manipular repositorio.
Inferred by our analysis agent from the official description, CVSS vector and CWE, and checked by a supervisor. May contain errors.
🛡️ ATT&CK mitigations that cover these techniques
Affected technologies (1)
⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.
CWEs
- CWE-200
References
Raw JSON (NVD)
Show
{
"id": "CVE-2025-52467",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2025-52467",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-06-23T16:58:31.157188Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.1,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.2,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "timescale",
"product": "pgai",
"versions": [
{
"status": "affected",
"version": "< 8eb356729c33560ce54b88b9a956960ad1e3ede8"
}
]
}
]
}
],
"published": "2025-06-19T03:15:25.870",
"references": [
{
"url": "https://github.com/timescale/pgai/commit/8eb356729c33560ce54b88b9a956960ad1e3ede8",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/timescale/pgai/pull/742",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/timescale/pgai/security/advisories/GHSA-89qq-hgvp-x37m",
"source": "security-advisories@github.com"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-200"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "pgai es una librería de Python que transforma PostgreSQL en un motor de recuperación para aplicaciones RAG y Agentic. Antes de el commit 8eb3567, el repositorio pgai era vulnerable a un ataque que permitía la exfiltración de todos los secretos utilizados en un flujo de trabajo. En particular, el GITHUB_TOKEN con permisos de escritura para el repositorio, lo que permitía a un atacante manipular todos los aspectos del repositorio, incluyendo la publicación de código y versiones arbitrarias. Este problema se ha corregido en el commit 8eb3567."
}
],
"lastModified": "2026-06-17T09:36:32.877",
"sourceIdentifier": "security-advisories@github.com"
}