---
id: CVE-2026-62176
title: PraisonAI is a multi-agent teams system
summary: >-
  PraisonAI is a multi-agent teams system. Prior to version 4.6.78, the
  `deploy/api.py` module generates Python server code by directly interpolating
  the `agents_file` parameter into an f-string that is then written to a file
  and executed …
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: MervinPraison
product: PraisonAI
affected:
  - PraisonAI < 4.6.78
patched:
  - PraisonAI 4.6.78
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T17:16:56.153'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62176'
references:
  - url: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg
    label: security-advisories@github.com
  - url: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-g6j7-pffp-8whg'
tags:
  - nvd
  - cve.org
  - exploit-available
  - ghsa
  - pip
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-07T16:57:09.228475Z'
aliases:
  - GHSA-g6j7-pffp-8whg
ecosystem: pip
ingestedAt: '2026-10-07T16:38:22.237Z'
---

## Overview

PraisonAI is a multi-agent teams system. Prior to version 4.6.78, the `deploy/api.py` module generates Python server code by directly interpolating the `agents_file` parameter into an f-string that is then written to a file and executed via `subprocess.Popen()`. An attacker who controls the `agents_file` value (via CLI argument, configuration, or upstream API) can inject arbitrary Python code. Version 4.6.78 patches the issue.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-62176)

Affected packages:

- `PraisonAI <= 4.6.77`

Patched in:

- `PraisonAI 4.6.78`

Source: https://github.com/advisories/GHSA-g6j7-pffp-8whg
