Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 85%

CVE-2026-40313: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in MervinPraison PraisonAI

0
Critical
VulnerabilityCVE-2026-40313cvecve-2026-40313cwe-829
Published: Tue Apr 14 2026 (04/14/2026, 03:10:23 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAI

Description

PraisonAI versions 4. 5. 139 and below have a critical vulnerability in their GitHub Actions workflows where the default behavior of actions/checkout leads to credential leakage. This occurs because the GITHUB_TOKEN and sometimes ACTIONS_RUNTIME_TOKEN are persisted in the . git/config file and can be inadvertently included in uploaded artifacts. Since PraisonAI is a public repository, any user with read access can download these artifacts and extract these tokens, potentially enabling malicious code injection, supply chain compromise, and theft of repository secrets. The vulnerability is fixed in version 4. 5. 140.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 06:15:42 UTC

Technical Analysis

CVE-2026-40313 affects PraisonAI, a multi-agent teams system, due to insecure GitHub Actions workflow configurations in versions prior to 4.5.140. The workflows use actions/checkout without setting persist-credentials: false, causing the GITHUB_TOKEN and sometimes ACTIONS_RUNTIME_TOKEN to be saved in the .git/config file. When subsequent workflow steps upload artifacts, these tokens may be included and exposed to any user with read access to the public repository. This exposure allows attackers to push malicious code, poison releases and package repositories, steal secrets, and perform full supply chain compromises. The issue spans multiple workflow and action files and has been addressed in version 4.5.140.

Potential Impact

The vulnerability allows unauthorized users with read access to the public PraisonAI repository to obtain sensitive GitHub tokens from workflow artifacts. This can lead to malicious code injection, poisoning of releases and package repositories (PyPI/Docker), theft of repository secrets, and a full supply chain compromise affecting all downstream users. The CVSS score of 9.1 reflects a critical impact with high confidentiality and integrity consequences but no direct availability impact.

Mitigation Recommendations

Upgrade PraisonAI to version 4.5.140 or later, where this issue has been fixed by properly configuring GitHub Actions workflows to prevent credential leakage. Specifically, workflows should set persist-credentials: false in actions/checkout steps to avoid persisting tokens in .git/config. Since this is a repository configuration issue, patching the workflows is the recommended remediation. Patch status is not explicitly stated as 'official-fix' but the issue is fixed in version 4.5.140, so upgrading is the effective fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T21:41:54.505Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69ddbc3182d89c981fc24dd5

Added to database: 4/14/2026, 4:01:53 AM

Last enriched: 4/21/2026, 6:15:42 AM

Last updated: 5/29/2026, 3:25:44 PM

Views: 121

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses