CVE-2026-57131: CWE-94: Improper Control of Generation of Code ('Code Injection') in MervinPraison PraisonAI
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.
AI Analysis
Technical Summary
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.
CVE-2026-57131: CWE-94: Improper Control of Generation of Code ('Code Injection') in MervinPraison 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
Affected software
MervinPraison
PraisonAI
pkg:github/mervinpraison/PraisonAIRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.