PraisonAI workflow runner can execute OS commands from YAML files
A malicious workflow file can run commands on the computer that runs it, as if the attacker were logged in there. Anyone who runs workflow files from untrusted sources is at risk.
| Severity | HighCVSS 7.3 of 10 |
|---|---|
| Being exploited? | UnclearNo reports either way yet |
| Fix available? | Yespraisonai 4.6.78 · since 29 Oct 2026 |
| How sure is this? | Official sourceBacked by an official source |
How the attack works simplified
- 1Attacker writes workflowYAML with script: import os
- 2File reaches runnerShared repo, template, or CI input
- 3PraisonAI runs itJob workflows enabled, AST check passes
- 4os.system runsShell commands run with caller's rights
- ResultAttacker runs commands on the host
What happened
The inline Python executor for YAML 'script:' steps in PraisonAI checks code with an AST allowlist and blocks some builtins, but it allows importing the 'os' module. Once imported, functions like os.system() and os.popen() are not blocked, so arbitrary shell commands run.
Are you affected?
You are affected if you run PraisonAI versions before 4.6.78 with PRAISONAI_ALLOW_JOB_WORKFLOWS=true and execute YAML workflows (type: job) that may come from untrusted sources such as downloaded templates, shared repositories, or AI-generated workflows.
| Package / product | Affected versions | Fixed in |
|---|---|---|
| praisonai · pip | < 4.6.78 | 4.6.78 |
What to do
- Upgrade praisonai to version 4.6.78 or later.
- Keep PRAISONAI_ALLOW_JOB_WORKFLOWS unset or false unless you need job workflows.
- Only run workflow YAML files from trusted sources, and review any 'script:' steps before running them.
Timeline
- 29 Oct 2026, 16:34 UTCPublicly disclosed
- 29 Oct 2026, 16:34 UTCReported by GitHub Advisory · GitHub Advisory
- 29 Oct 2026, 16:34 UTCPicked up by Zero Radar
Sources 1 report, oldest first
Official vendor, government CERT or advisory database
- PraisonAI vulnerable to Remote Code Execution via Broken AST SandboxGitHub Advisory · 29 Oct 2026, 16:34 UTC
Technical details
- ID
- CVE-2026-61438 · GHSA-26mh-57q7-jfvr
- CVSS
- 7.3 / 10
- EPSS
- 0.3% chance of exploitation within 30 days
- Disclosed
- 29 Oct 2026, 16:34 UTC
- On Zero Radar
- 29 Oct 2026, 16:34 UTC (0 min after disclosure)
- Last change
- 29 Oct 2026, 16:34 UTC
The plain-language parts and the attack diagram were written by an AI model (anthropic/claude-haiku-5.5) from the sources above. Facts like versions, exploitation and dates come from the sources themselves. How Zero Radar works