Vulnerabilities

Security fix · CVE-2025-52467

pgai is a Python library that transforms PostgreSQL into a retrieval engine for RAG and Agentic applications.

Published Jun 19, 2025 · catalog updated Jun 23, 2025 · pgai is a Python

Last checked Oct 26, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2025-52467. EPSS is 0.40%. Act only if a listed version of pgai is a Python is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (pgai is a Python).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Critical9.1
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.40%
Remediation
Version ranges on file
Affected products
vendor timescale pgai < 8eb356729c33560ce54b88b9a956960ad1e3ede8

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor timescale pgai < 8eb356729c33560ce54b88b9a956960ad1e3ede8< 8eb356729c33560ce54b88b9a956960ad1e3ede8

How to fix CVE-2025-52467

  • Upgrade

    CVE-2025-52467 lists a fix boundary at 8eb356729c33560ce54b88b9a956960ad1e3ede8. Compare the installed build with that boundary before you change production.

  • Version check

    Affected < 8eb356729c33560ce54b88b9a956960ad1e3ede8

  • Advisory

    Open the cve_org record and follow its fix.

  • Official advisories

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2025-52467. EPSS is 0.40%. Act only if a listed version of pgai is a Python is installed.

Which versions are affected?

Compare what you have installed with timescale pgai < 8eb356729c33560ce54b88b9a956960ad1e3ede8 < 8eb356729c33560ce54b88b9a956960ad1e3ede8. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.40%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Jun 19, 2025 · EUVD

    Detected

    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 pu

  2. Jun 23, 2025 · EUVD

    Updated

    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 pu

Sources

  • CVE.orgVulnerability recordCVE-2025-52467

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2025-52467

    30-day exploitation probability 0.40%

    first.org
  • EUVDVulnerability recordEUVD-2025-18904

    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 wi

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Oct 26, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSOct 23, 2026
  • CVE.orgOct 21, 2026
  • EUVDOct 20, 2026