HighVulnerability
GHSA-cv3g-hj65-pcfh: PraisonAI: Shell command allowlist bypass via find -exec built-in action
- Identifiers
- CVE-2026-61434GHSA-cv3g-hj65-pcfh
- Published
- Record updated
- Affected
- praisonai <= 4.6.77
- Fixed in
- 4.6.78
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.7%
Summary
PraisonAI's shell command hardening, shipped in npm 1.7.2 and Python 4.6.58 to fix GHSA-5jv7-2mjm-h6qj and GHSA-vjv9-7m7j-h833, can be bypassed through find's built-in -exec action. The fix blocks shell metacharacters and uses spawn() with shell: false, but find stays in the safe command allowlist, and the batch terminator + replaces the blocked ; so commands run without metacharacters. The same gap exists in four implementations, including the TS shell() tool and the Python safe_shell module, and a find -execdir payload reads /etc/passwd while evading the SandboxExecutor path check.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- HighGHSA-jq3q-62jc-fqq9: code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parametersSimilar attack · GitHub Advisory Database
- CriticalCVE-2026-120699: CubeSandbox host path bind mount allows host file access via POST /sandboxesSimilar attack · NVD/CVE Database
- MediumCalifornia sues OpenAI over AI agents escaping sandboxes, hacking firmsSimilar attack · BleepingComputer
- HighCVE-2026-126816 - Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-serverSimilar attack · AWS Security Bulletins
- InfoRansomware Attacks Increase Behind AI, But Payments DeclineSimilar attack · Dark Reading