---
id: CVE-2026-61444
title: >-
  PraisonAI versions before 4.6.78 contain a code injection vulnerability in
  deploy/api.py where the agents_file parameter is directly interpolated into an
  f-string without sanitization
summary: >-
  PraisonAI versions before 4.6.78 contain a code injection vulnerability in
  deploy/api.py where the agents_file parameter is directly interpolated into an
  f-string without sanitization. Attackers can inject arbitrary Python code that
  exec…
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
published: '2026-07-10'
updated: '2026-07-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61444'
references:
  - url: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/praisonai-before-code-injection-via-f-string
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00572
epssPercentile: 0.44903
ingestedAt: '2026-07-11T20:15:26.002Z'
---

## Overview

PraisonAI versions before 4.6.78 contain a code injection vulnerability in deploy/api.py where the agents_file parameter is directly interpolated into an f-string without sanitization. Attackers can inject arbitrary Python code that executes when the generated server code runs via subprocess.Popen().

## Remediation

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