---
title: "CVE-2026-62176: PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation"
url: https://erroneo.us/security/cve/CVE-2026-62176/
description: "CVE-2026-62176 (PraisonAI (PyPI)): PraisonAI is a multi-agent teams system. Prior to version 4.6.78, the deploy/api.py module generates Python server code…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-10-07
date_modified: 2026-10-07
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-62176"
kev: false
cvss: 9.1
epss: 0.0046
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-62176: PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.5% , percentile 39: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 39% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs an account (high (admin)). Exposure depends on who can log in.
- Only applies if your dependency tree includes PraisonAI (PyPI) <= 4.6.77, fixed in 4.6.78 . Check your lockfile, including transitive dependencies.

## What it is

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 agentsfile parameter into an f-string that is then written to a file and executed via subprocess.Popen(). An attacker who controls the agentsfile value (via CLI argument, configuration, or upstream API) can inject arbitrary Python code. Version 4.6.78 patches the issue.

## Affected packages

- PyPI `PraisonAI` <= 4.6.77 → fixed: 4.6.78

## Affected products (CVE record)

- MervinPraison PraisonAI: < 4.6.78

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.46% probability of exploitation activity in the next 30 days; percentile 39.

## Sources

- [GitHub Advisory GHSA-g6j7-pffp-8whg](https://github.com/advisories/GHSA-g6j7-pffp-8whg)
- [CVE.org record CVE-2026-62176](https://www.cve.org/CVERecord?id=CVE-2026-62176)
- [NVD entry CVE-2026-62176](https://nvd.nist.gov/vuln/detail/CVE-2026-62176)
- [github.com](https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg)

---
Source page: https://erroneo.us/security/cve/CVE-2026-62176/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
