PoC Monitor
← All CVEs
CVE-2025-52467published 19 Jun 2025 02:50 UTCData: JSON · API

Timescale pgai

pgai secrets exfiltration via `pull_request_target`

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub · +1 suspicious, not counted
CVSS9.1critical · scored by CNA · CWE-200
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

timescale pgai
  • < 8eb356729c33560ce54b88b9a956960ad1e3ede8

Fixed in 8eb356729c33560ce54b88b9a956960ad1e3ede8

Mitigation

Upgrade pgai to 8eb356729c33560ce54b88b9a956960ad1e3ede8 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published19 Jun 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 suspicious or fake

Suspicious or fake 1
RepositoryCreatedStarsAssessment
pvharmo2/gha-lab-e8902eccd3 4 Sep 2026 +1.2 y 0 Suspicious · score 100
Why suspicious
  • pipes a download into a shell / encoded PowerShell in projects/extension/Dockerfile
  • contains archives (projects/pgai/tests/vectorizer/cli/documents/basic-v3plus2.epub)
  • large base64 blob in code in projects/pgai/tests/vectorizer/cassettes/embedding_litellm_azure_text_embedding_3_small_1536_items_1_batch_size_1.yaml
  • large base64 blob in code in projects/pgai/tests/vectorizer/cassettes/embedding_litellm_azure_text_embedding_3_small_1536_items_4_batch_size_2.yaml
  • large base64 blob in code in projects/pgai/tests/vectorizer/cassettes/ollama-character_text_splitter-too-large-chunk_value.yaml
  • large base64 blob in code in projects/pgai/tests/vectorizer/cassettes/test_document_in_batch_too_long.yaml
  • large base64 blob in code in projects/pgai/tests/vectorizer/cassettes/voyageai-character_text_splitter-chunk_value-items=1-batch_size=1.yaml
  • large base64 blob in code in projects/pgai/tests/vectorizer/cassettes/voyageai-character_text_splitter-chunk_value-items=4-batch_size=2.yaml

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.