CVE-2026-62176 · GHSA-g6j7-pffp-8whg
PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation
- Risk score
- 67/100
- CVSS
- 9.1 v3.1
- Exploit chance (30 days)
- 0.5%
- Published
- 7 Oct 2026
Open in the live forecast Today's forecast
What to know
- 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 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 argume…
- Affected
- PraisonAI (pip) <= 4.6.77
- Fix
- Upgrade PraisonAI to 4.6.78 or later.
- Exploitation
- No known exploitation
Story map
At a glance
praisonai: Amber, patch this week. The AICoder UI component exposes write_to_file and execute_command tools to the LLM with no path validation and no command sanitization. An attacker can achieve arbitrary file write to any location on the filesystem (including /root/.ssh/authorized_keys, /etc/crontab) and arbitrary command execution through prompt inj…
The flaws
- CVE-2026-62176: Code Injection via f-string Interpolation in Deploy API Server Generation (CVSS 9.1 · EPSS 0%)
- CVE-2026-61445: PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls (CVSS 9.9 · EPSS 1%)
- CVE-2026-61426: PraisonAI: AgentOS defaults to network-exposed no-auth mode, allowing unauthenticated agent invocation and instruction disclosure (CVSS 8.6 · EPSS 0%)
- CVE-2026-61435: PraisonAI: Call API localhost-only authentication bypass via spoofed Host header (CVSS 8.2 · EPSS 1%)
The fix
Upgrade praisonai: 4.6.78 or later on your release line
Who is exposed: praisonai (pip) <= 4.6.77
Where it stands
- Public proof of concept
Connects to
- Same weakness: Code injection (CWE-94). 239 other warnings in 30 days
Why it is Amber
- CVSS 9.1 critical
- On your watchlist: PyPI
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| PraisonAI | pip | <= 4.6.77 | 4.6.78 |
References
Original description
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.
Last activity 7 Oct 2026. Patch Forecast updates every hour.