CVE-2026-61433

PraisonAI before 4.6.78 Code Injection via API deployment generator

Published Jul 15, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
PraisonAI before 4.6.78 fails to safely encode deployment configuration values when generating Python source code for API servers. Attackers can inject arbitrary Python expressions through the deploy.api.host and agents_file configuration parameters that execute when the generated server starts or handles requests.

Analysis

AI-generated

Technical impact

PraisonAI versions prior to 4.6.78 construct Python source code for API servers without properly escaping configuration values. The deploy.api.host and agents_file fields can contain arbitrary Python expressions, which are executed when the generated server starts or processes requests. This vulnerability, classified as CWE‑94, enables an attacker to run malicious code with the same privileges as the server, compromising confidentiality, integrity, and availability of the deployed application.

Affected Systems

The vulnerability affects the PraisonAI product developed by MervinPraison, specifically releases before 4.6.78. Any deployment that relies on the API deployment generator and exposes the deploy.api.host or agents_file configuration parameters is susceptible.

Risk and Exploitability

The CVSS score of 8.5 indicates a high severity, while the EPSS score of less than 1% suggests a low current exploitation probability but still a recognized risk. Because the weakness permits code injection through configuration, the attack vector is likely remote, leveraging the API or deployment pipeline to inject malicious values. The vulnerability is not listed in CISA's KEV catalog, but it remains a serious risk for organizations running susceptible versions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official PraisonAI update to version 4.6.78 or later, which removes the unsafe encoding of configuration values.
  • If an update cannot be applied immediately, restrict access to the deployment configuration interface or hard‑code the deploy.api.host and agents_file values so they cannot be influenced by external input.
  • Enforce input validation for these parameters, allowing only safe hostnames and file paths, and consider running the generated server in a minimal‑

Generated by OpenCVE AI on July 31, 2026 at 03:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-79fv-7hq9-w7xg PraisonAI: API deploy code generator embeds unescaped YAML fields into Python source
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description PraisonAI before 4.6.78 fails to safely encode deployment configuration values when generating Python source code for API servers. Attackers can inject arbitrary Python expressions through the deploy.api.host and agents_file configuration parameters that execute when the generated server starts or handles requests.
Title PraisonAI before 4.6.78 Code Injection via API deployment generator
First Time appeared Praison
Praison praisonai
Weaknesses CWE-94
CPEs cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*
Vendors & Products Praison
Praison praisonai
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 15, 2026, 1:25 PM
Reserved
Jul 9, 2026, 2:05 PM
Status
Deferred
Published
Jul 15, 2026, 12:18 PM
Modified
Oct 24, 2026, 9:10 PM