The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2026-40313

CVE-2026-40313: PraisonAI Information Disclosure Flaw

CVE-2026-40313 is an information disclosure vulnerability in PraisonAI's GitHub Actions workflows that exposes credentials through ArtiPACKED attack. This article covers technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-40313 Overview

CVE-2026-40313 is a critical credential leakage vulnerability affecting PraisonAI, a multi-agent teams system. The vulnerability stems from insecure GitHub Actions workflow configurations that are susceptible to the ArtiPACKED attack vector. In versions 4.5.139 and below, the use of actions/checkout without setting persist-credentials: false allows sensitive tokens to be written to the .git/config file, which can then be inadvertently included in uploaded artifacts.

Critical Impact

Attackers with read access to the public PraisonAI repository can download artifacts containing leaked GITHUB_TOKEN and ACTIONS_RUNTIME_TOKEN credentials, enabling malicious code injection, release poisoning, PyPI/Docker package compromise, repository secret theft, and full supply chain attacks affecting all downstream users.

Affected Products

  • PraisonAI versions 4.5.139 and below
  • GitHub Actions workflows in .github/workflows/
  • GitHub Actions in .github/actions/

Discovery Timeline

  • 2026-04-14 - CVE CVE-2026-40313 published to NVD
  • 2026-04-14 - Last updated in NVD database

Technical Details for CVE-2026-40313

Vulnerability Analysis

This vulnerability falls under CWE-829 (Inclusion of Functionality from Untrusted Control Sphere) and represents a significant supply chain security risk. The root issue lies in how GitHub Actions workflows handle credential persistence during the checkout process.

When actions/checkout is used without explicitly setting persist-credentials: false, the action writes authentication tokens (including GITHUB_TOKEN and potentially ACTIONS_RUNTIME_TOKEN) to the .git/config file within the repository workspace. This behavior is intended to facilitate subsequent Git operations within the workflow but creates a dangerous attack surface when combined with artifact uploads.

The vulnerability becomes exploitable when any subsequent workflow step uploads artifacts such as build outputs, logs, or test results. If the artifact upload includes the .git directory or its contents, the embedded tokens become accessible to anyone who can download those artifacts. Since PraisonAI is a public repository, any user with read access can extract these leaked credentials.

Root Cause

The fundamental issue is the default behavior of actions/checkout which persists Git credentials to .git/config for convenience. Combined with artifact upload steps that may inadvertently include the .git directory or files containing these credentials, this creates a credential exposure pathway. The vulnerability spans numerous workflow and action files across the .github/workflows/ and .github/actions/ directories, indicating a systemic configuration weakness rather than an isolated misconfiguration.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker can exploit this vulnerability through the following process:

  1. Monitor the public PraisonAI repository for workflow runs that generate artifacts
  2. Download the uploaded artifacts using standard GitHub API access
  3. Extract the artifacts and search for .git/config or other files containing embedded tokens
  4. Use the extracted GITHUB_TOKEN or ACTIONS_RUNTIME_TOKEN to perform privileged operations

With the leaked tokens, an attacker could push malicious commits, create poisoned releases, modify PyPI or Docker packages distributed by the project, access repository secrets, or pivot to compromise downstream systems that depend on PraisonAI.

Detection Methods for CVE-2026-40313

Indicators of Compromise

  • Unexpected commits or tags appearing in the repository from unfamiliar actors
  • Unusual workflow runs or modifications to workflow files
  • Unauthorized changes to release artifacts or package distributions
  • Anomalous access patterns to repository secrets or sensitive configuration
  • Evidence of artifact downloads from unknown IP addresses or accounts

Detection Strategies

  • Audit GitHub Actions workflow logs for unusual artifact upload patterns
  • Monitor repository audit logs for unexpected authentication events using GITHUB_TOKEN
  • Implement alerts for modifications to .github/workflows/ or .github/actions/ directories
  • Review artifact contents for inadvertent inclusion of .git directories or configuration files
  • Cross-reference artifact download activity with known authorized users

Monitoring Recommendations

  • Enable GitHub audit logging and configure SIEM integration for repository events
  • Set up automated scanning of workflow files for insecure actions/checkout configurations
  • Implement artifact content inspection as part of CI/CD pipeline security checks
  • Monitor for unauthorized package publications to PyPI, Docker Hub, or other distribution channels
  • Configure alerts for repository secret access anomalies

How to Mitigate CVE-2026-40313

Immediate Actions Required

  • Upgrade PraisonAI to version 4.5.140 or later which contains the fix for this vulnerability
  • Audit all GitHub Actions workflows for actions/checkout usage without persist-credentials: false
  • Review and rotate any potentially exposed GITHUB_TOKEN or repository secrets
  • Verify the integrity of recent releases and published packages
  • Scan previously uploaded artifacts for credential exposure

Patch Information

The vulnerability has been addressed in PraisonAI version 4.5.140. Users should update to this version or later to remediate the issue. For detailed information about the security fix, refer to the GitHub Security Advisory. Additional background on the ArtiPACKED attack vector can be found in the Palo Alto Networks Analysis and The Hacker News coverage.

Workarounds

  • Add persist-credentials: false to all actions/checkout steps in workflow files
  • Explicitly exclude .git directories from artifact uploads using path exclusion patterns
  • Implement pre-upload checks to scan artifact contents for sensitive data
  • Use GitHub's built-in secret scanning to detect accidentally committed credentials
  • Consider using short-lived, minimally-scoped tokens where possible instead of default GITHUB_TOKEN
yaml
# Secure actions/checkout configuration example
- uses: actions/checkout@v4
  with:
    persist-credentials: false

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechPraisonai

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.03%

  • 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-829
  • Technical References
  • GitHub Security Advisory

  • The Hacker News Article

  • Palo Alto Networks Analysis
  • Related CVEs
  • CVE-2026-40159: PraisonAI Information Disclosure Flaw

  • CVE-2026-39889: PraisonAI Information Disclosure Flaw

  • CVE-2026-40315: PraisonAI SQL Injection Vulnerability

  • CVE-2026-40287: PraisonAI RCE 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