Skip to main content

CVE-2026-57131: CWE-94: Improper Control of Generation of Code ('Code Injection') in MervinPraison PraisonAI

0
Critical
VulnerabilityCVE-2026-57131cvecve-2026-57131cwe-94cwe-306cwe-862
Published: 09/14/2026 (09/14/2026, 15:06:20 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAI

Description

PraisonAI is a multi-agent teams system. Prior to 4.6.58, praisonai.jobs.server.create_app mounts praisonai.jobs.router.create_router under /api/v1/runs without authentication or per-job authorization. Network clients can submit attacker-controlled prompts and agent configuration, list and read jobs, stream results, and cancel or delete other jobs, exposing service credentials and connected tool capabilities to unauthorized agent execution. This vulnerability is fixed in 4.6.58.

CVSS v3.1

Score 9.8critical

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

Affected software

MervinPraison

PraisonAI

Affected versions
<4.6.48
GitHub Actionsmore threats →ai
mervinpraison/PraisonAI
pkg:github/mervinpraison/PraisonAI
Affected versions
<4.6.58

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 15:31:36 UTC

Technical Analysis

PraisonAI versions before 4.6.58 have an improper control of code generation vulnerability (CWE-94) due to the praisonai.jobs.server.create_app mounting the praisonai.jobs.router.create_router endpoint under /api/v1/runs without authentication or per-job authorization. This allows remote attackers to submit malicious prompts and agent configurations, manipulate jobs, and potentially execute unauthorized code or access sensitive credentials. The vulnerability is addressed in version 4.6.58.

Potential Impact

The vulnerability allows unauthenticated remote attackers to execute arbitrary code via attacker-controlled prompts and agent configurations. It also permits unauthorized listing, reading, streaming, canceling, or deletion of jobs, which can expose service credentials and connected tool capabilities. The CVSS v3.1 score is 9.8 (critical), reflecting high confidentiality, integrity, and availability impacts.

Mitigation Recommendations

Upgrade PraisonAI to version 4.6.58 or later, where this vulnerability is fixed. Prior versions are vulnerable due to lack of authentication and authorization on the /api/v1/runs endpoint. No other mitigation is indicated.

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-06-24T00:33:17.708Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa80fff55bf5e2cf53beb1e

Added to database: 09/14/2026, 15:17:19 UTC

Last enriched: 09/14/2026, 15:31:36 UTC

Last updated: 09/15/2026, 03:09:30 UTC

Views: 13

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