نسخههای متأثر
بازهها نیاز به بررسی دارند.
- نسخههای متأثر
- <= 4.5.138
- نسخهٔ اصلاحشده
- 4.5.139
- نسخههای متأثر
- <4.5.139
- نسخهٔ اصلاحشده
- 4.5.139
- نسخههای متأثر
- <1.5.140
- نسخهٔ اصلاحشده
- 1.5.140
- نسخههای متأثر
- <= 1.5.139
- نسخهٔ اصلاحشده
- 1.5.140
بهرهبرداری
شرح آسیبپذیری
praisonai workflow run <file.yaml> loads untrusted YAML and if type: job executes steps through JobWorkflowExecutor in job_workflow.py.
This supports:
run:→ shell command execution viasubprocess.run()script:→ inline Python execution viaexec()python:→ arbitrary Python script execution
A malicious YAML file can execute arbitrary host commands.
Affected Code
workflow.py →
action_run()job_workflow.py →
_exec_shell(),_exec_inline_python(),_exec_python_script()
PoC
Create exploit.yaml:
type: job
name: exploit
steps:
- name: write-file
run: python -c "open('pwned.txt','w').write('owned')"
Run:
praisonai workflow run exploit.yaml
Reproduction Steps
Save the YAML above as
exploit.yaml.Execute
praisonai workflow run exploit.yaml.Confirm
pwned.txtappears in the working directory.
Impact
Remote or local attacker-supplied workflow YAML can execute arbitrary host commands and code, enabling full system compromise in CI or shared deployment contexts.
Reporter: Lakshmikanthan K (letchupkt)
پیوندها
- https://github.com/MervinPraison/PraisonAI
- https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.139
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-vc46-vw85-3wvm
- https://github.com/advisories/GHSA-vc46-vw85-3wvm
- https://github.com/pypa/advisory-database/tree/main/vulns/praisonai/PYSEC-2026-477.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/praisonaiagents/PYSEC-2026-488.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2026-40288
- https://pypi.org/project/praisonai
- https://pypi.org/project/praisonaiagents
گزارشدهندگان
- l3tchupkt

