GHSA-g6j7-pffp-8whg: PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation
Source: github.com
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. Details src/praisonai/praisonai/deploy/api.py (line 80): ```python code = f'''... praisonai = PraisonAI(agent_file="{agents_file}") ... "agent_file": "{agents_file}" ... …
Signalsas the pipeline stamped them
High Critical vulnerability — CVSS 9.1
What to do
- Critical severity — schedule an urgent patch.
CVEKEV and EPSS where known
Get the next one first
Every story goes to Telegram and RSS the moment it is published, and the whole wire is a keyless JSON API.