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…

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

0
High
VulnerabilityCVE-2026-39891cvecve-2026-39891cwe-94
Published: Wed Apr 08 2026 (04/08/2026, 20:46:59 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAI

Description

CVE-2026-39891 is a high-severity code injection vulnerability in MervinPraison's PraisonAI versions prior to 4. 5. 115. The issue arises because the create_agent_centric_tools() function returns tools that process file content using template rendering, and user input passed directly into these tools is not escaped. This allows template expressions in the input to be executed as code rather than treated as literal text. The vulnerability has been fixed in version 4. 5. 115.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/08/2026, 21:20:47 UTC

Technical Analysis

PraisonAI, a multi-agent teams system, contains a code injection vulnerability (CWE-94) in versions before 4.5.115. Specifically, the create_agent_centric_tools() function returns tools such as acp_create_file that use template rendering on file content. When user input from agent.start() is passed directly into these tools without proper escaping, template expressions embedded in the input are executed, enabling code injection. This flaw allows an attacker with at least low privileges and no user interaction to execute arbitrary code, impacting confidentiality, integrity, and availability. The vulnerability is addressed by escaping user input in version 4.5.115.

Potential Impact

Successful exploitation can lead to remote code execution with high impact on confidentiality, integrity, and availability of the affected system. The CVSS 3.1 score is 8.8 (high), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and full compromise potential. No known exploits are reported in the wild at this time.

Mitigation Recommendations

A fix is available in PraisonAI version 4.5.115, which properly escapes user input to prevent template expression execution. Users should upgrade to version 4.5.115 or later to remediate this vulnerability. Since this is not a cloud service, remediation depends on applying the vendor's patch. Patch status is confirmed by the vendor advisory stating the issue is fixed in 4.5.115.

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-07T20:32:03.011Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d6c32c1cc7ad14dab1ab4a

Added to database: 4/8/2026, 9:05:48 PM

Last enriched: 4/8/2026, 9:20:47 PM

Last updated: 4/8/2026, 11:22:53 PM

Views: 6

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