Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-52467

CVE-2025-52467: pgai Information Disclosure Vulnerability

CVE-2025-52467 is an information disclosure vulnerability in pgai that allows exfiltration of secrets and repository tampering. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 18, 2026

CVE-2025-52467 Overview

CVE-2025-52467 is a critical Information Exposure vulnerability affecting the pgai Python library, which transforms PostgreSQL into a retrieval engine for RAG (Retrieval-Augmented Generation) and Agentic applications. Prior to commit 8eb3567, the pgai repository was vulnerable to an attack allowing the exfiltration of all secrets used in GitHub Actions workflows, including the GITHUB_TOKEN with write permissions. This vulnerability could allow attackers to tamper with all aspects of the repository, including pushing arbitrary code and malicious releases.

Critical Impact

An attacker could exfiltrate sensitive GitHub workflow secrets including the GITHUB_TOKEN with write permissions, enabling complete repository compromise including arbitrary code injection and malicious release publication.

Affected Products

  • pgai (Python library) - versions prior to commit 8eb3567
  • Timescale pgai GitHub repository workflows

Discovery Timeline

  • 2025-06-19 - CVE-2025-52467 published to NVD
  • 2025-06-23 - Last updated in NVD database

Technical Details for CVE-2025-52467

Vulnerability Analysis

This vulnerability falls under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor). The flaw existed in the GitHub Actions workflow configuration within the pgai repository, which improperly exposed workflow secrets to potentially untrusted contexts. The vulnerability is network-exploitable without requiring any user interaction or special privileges, making it particularly dangerous for supply chain attacks.

The impact is severe because the exposed GITHUB_TOKEN possessed write permissions to the repository. With this token, an attacker could modify repository contents, create or modify releases, alter workflow configurations, and inject malicious code that would then be distributed to downstream users of the pgai library.

Root Cause

The root cause of this vulnerability lies in the insecure configuration of GitHub Actions workflows in the pgai repository. The workflow implementation failed to properly restrict access to sensitive secrets, allowing them to be exfiltrated through crafted inputs or workflow manipulations. This is a common vulnerability pattern in CI/CD pipelines where secrets are inadvertently exposed to untrusted code execution contexts, such as pull request workflows from forked repositories.

Attack Vector

The attack vector for CVE-2025-52467 is network-based and exploits the GitHub Actions workflow configuration. An attacker could potentially trigger the vulnerable workflow and extract the GITHUB_TOKEN along with other workflow secrets. Once obtained, the write-permission token grants the attacker full control over repository operations.

The attack flow involves:

  1. Identifying the vulnerable workflow configuration in the pgai repository
  2. Triggering the workflow in a manner that exposes secrets to an attacker-controlled context
  3. Capturing the exfiltrated GITHUB_TOKEN and other secrets
  4. Using the token to push malicious code, create backdoored releases, or modify existing repository content

For technical details on the vulnerability mechanism, refer to the GitHub Security Advisory GHSA-89qq-hgvp-x37m.

Detection Methods for CVE-2025-52467

Indicators of Compromise

  • Unexpected or unauthorized commits to the pgai repository from unknown actors
  • Unusual GitHub Actions workflow execution patterns or logs showing secret access
  • New or modified releases that were not officially announced by Timescale
  • Unauthorized modifications to workflow files (.github/workflows/)
  • Evidence of token usage from unexpected IP addresses in GitHub audit logs

Detection Strategies

  • Review GitHub audit logs for the pgai repository for any suspicious token usage or unauthorized API calls
  • Monitor for unexpected changes to workflow configurations or repository content
  • Implement branch protection rules and require code reviews for all changes
  • Audit GitHub Actions workflow permissions and secret access patterns
  • Use GitHub's secret scanning alerts to detect any exposed credentials

Monitoring Recommendations

  • Enable GitHub Advanced Security features including secret scanning and code scanning
  • Configure alerts for workflow configuration changes in sensitive repositories
  • Implement monitoring for unusual commit patterns or release publications
  • Review dependency trees for any unexpected versions of pgai being pulled
  • Set up automated notifications for security advisory publications related to pgai

How to Mitigate CVE-2025-52467

Immediate Actions Required

  • Update the pgai repository to include commit 8eb3567 or later which contains the security fix
  • Rotate all GitHub tokens and secrets that may have been exposed in the vulnerable workflow
  • Audit repository history for any unauthorized commits or changes made during the vulnerable period
  • Review and verify the integrity of any releases published before the patch
  • Implement strict workflow permissions following the principle of least privilege

Patch Information

The vulnerability has been patched in commit 8eb3567. Users and maintainers should ensure they are using a version of the repository that includes this fix. The patch addresses the insecure workflow configuration that allowed secret exfiltration.

Relevant patch resources:

  • GitHub Commit 8eb3567
  • GitHub Pull Request #742
  • GitHub Security Advisory GHSA-89qq-hgvp-x37m

Workarounds

  • Restrict workflow permissions by setting permissions: in workflow files with minimal required access
  • Use environment protection rules to require approvals before secrets are accessible
  • Avoid running workflows with write permissions on pull requests from forks
  • Implement CODEOWNERS to require specific team reviews for workflow file changes
  • Consider using fine-grained personal access tokens instead of GITHUB_TOKEN where possible
bash
# Example workflow permissions restriction
# Add to .github/workflows/*.yml files
permissions:
  contents: read
  pull-requests: read
  # Explicitly deny write access unless absolutely required

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechPgai

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request #742

  • GitHub Security Advisory GHSA-89qq-hgvp-x37m
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English