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.
Published: 2026-07-15
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Wed, 15 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 15 Jul 2026 12:00:00 +0000

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'}


Subscriptions

Praison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-15T13:25:34.001Z

Reserved: 2026-07-09T14:05:21.471Z

Link: CVE-2026-61433

cve-icon Vulnrichment

Updated: 2026-07-15T13:20:39.590Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T04:00:15Z

Weaknesses
  • CWE-94

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