{"id":"CVE-2026-62176","published":"2026-10-07T16:06:56Z","modified":"2026-10-07T16:57:30Z","title":"PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0046,"percentile":0.40805,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":8.16},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.6.78"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-07T16:57:09.228475Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"PraisonAI","vulnerableRanges":["<4.6.78"],"patched":["4.6.78"],"from":["GHSA-g6j7-pffp-8whg","PYSEC-2026-4256"],"provenance":"source"}],"summary":{"text":"PraisonAI, a multi-agent teams system from MervinPraison, has a code injection flaw in its deploy/api.py module, which builds Python server code by inserting the agents_file parameter directly into an f-string, writes it to a file, and runs it via subprocess.Popen(). An attacker who can control the agents_file value, through a CLI argument, configuration, or an upstream API, can execute arbitrary Python code, and this affects versions before 4.6.78.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:19:11Z"},"euvd":{"id":"EUVD-2026-94521","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mervinpraison-praisonai-cve-2026-61444","parents":[{"from":"CVE-2026-61444","to":"CVE-2026-62176","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-g6j7-pffp-8whg","via":"reference","url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg"},{"kind":"similar","provenance":"machine","score":0.67,"basis":"same product + CWE + description similarity"}]}]}}