CVE-2026-40313 PraisonAI: ArtiPACKED Vulnerability via GitHub Actions Credential Persistence

Critical 9.1 Published Updated

Attackers can steal GitHub tokens from public artifacts to compromise the supply chain, requiring an upgrade to PraisonAI.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-40313?

CVE-2026-40313 is a critical vulnerability in MervinPraison PraisonAI, published on 14 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PraisonAI is a multi-agent teams system. In versions 4.5.139 and below, the GitHub Actions workflows are vulnerable to ArtiPACKED attack, a known credential leakage vector caused by using actions/checkout without setting persist-credentials: false. By default, actions/checkout writes the GITHUB_TOKEN (and sometimes ACTIONS_RUNTIME_TOKEN) into the .git/config file for persistence, and if any subsequent workflow step uploads artifacts (build outputs, logs, test results, etc.), these tokens can be inadvertently included. Since PraisonAI is a public repository, any user with read access can download these artifacts and extract the leaked tokens, potentially enabling an attacker to push malicious code, poison releases and PyPI/Docker packages, steal repository secrets, and execute a full supply chain compromise affecting all downstream users. The issue spans numerous workflow and action files across .github/workflows/ and .github/actions/. This issue has been fixed in version 4.5.140.

Weakness: CWE-829

Which versions are affected by CVE-2026-40313?

It affects 1 product.

Products include Praison Praisonai.

How do I fix CVE-2026-40313?

No fix has been published for CVE-2026-40313 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-40313 being exploited?

There is no known exploitation of CVE-2026-40313 in the wild and no public exploit code.

Sources

Also known as GHSA-3959-6v5q-45q2.

Is CVE-2026-40313 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free