{"vuln_id":"GHSA-vc46-vw85-3wvm","aliases":["CVE-2026-40288"],"description":"PraisonAI has critical RCE via `type: job` workflow YAML","published_at":"2026-04-10T19:32:48Z","modified_at":"2026-11-16T15:57:55Z","first_seen_at":"2026-11-21T19:15:20.271141Z","severity":"critical","severity_source":"ghsa","cvss_score":9.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-78","CWE-94"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-vc46-vw85-3wvm"},"matched_alias":null,"items":[{"id":2527,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-vc46-vw85-3wvm / CVE-2026-40288: PraisonAI has critical RCE via `type: job` workflow YAML","summary":"PraisonAI has critical RCE via `type: job` workflow YAML\n\n`praisonai workflow run\n` loads untrusted YAML and if `type: job` executes steps through `JobWorkflowExecutor` in job_workflow.py.\n\nThis supports:\n- `run:` → shell command execution via `subprocess.run()`\n- `script:` → inline Python execution via `exec()`\n- `python:` → arbitrary Python script execution\n\nA malicious YAML file can execute arbitrary host commands.\n\n### Affected Code\n- workflow.py → `action_run()`\n- job_workflow.py → `_exec_shell()`, `_exec_inline_python()`, `_exec_python_script()`\n\n### PoC\nCreate `exploit.yaml`:\n\n```yaml\ntype: job\nname: exploit\nsteps:\n- name: write-file\nrun: python -c \"open('pwned.txt','w').write('owned')\"\n```\n\nRun:\n\n```bash\npraisonai workflow run exploit.yaml\n```\n\n### Reproduction Steps\n1. Save the YAML above as `exploit.yaml`.\n2. Execute `praisonai workflow run exploit.yaml`.\n3. Confirm `pwned.txt` appears in the working directory.\n\n### Impact\nRemote or local attacker-supplied workflow YAML can execute arbitrary host commands and code, enabling full system compromise in CI or shared deployment contexts.\n\n**Reporter:** Lakshmikanthan K (letchupkt)\n\nAffected packages: pip:PraisonAI, pip:praisonaiagents\nPatched: praisonaiagents 1.5.140, PraisonAI 4.5.139","url":"https://github.com/advisories/GHSA-vc46-vw85-3wvm","published_at":"2026-04-10T19:32:48Z","updated_at":"2026-11-16T15:57:55Z","fetched_at":"2026-11-21T19:15:18.416907Z","severity":"critical","cvss_score":9.8,"epss":0.00619,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"praisonaiagents","vuln_id":"CVE-2026-40288","vuln_ids":["CVE-2026-40288","GHSA-VC46-VW85-3WVM"],"tags":["ghsa","pip","CWE-78","CWE-94"],"cluster_id":2498,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2527","html":"https://vulnwatch.ve1ve2.com/item/2527"}}]}