CVE-2026-5831: Agions taskflow-ai vulnerable to os command injection in src/mcp/server/handlers.ts
A security flaw has been discovered in Agions taskflow-ai up to 2.1.8. This impacts an unknown function of the file src/mcp/server/handlers.ts of the component terminalexecute. Performing a manipulation results in os command injection. The attack is possible to be carried out remotely. Upgrading to version 2.1.9 will fix this issue. The patch is named c1550b445b9f24f38c4414e9a545f5f79f23a0fe.
Published Apr 9, 2026 · Updated Apr 10, 2026
Affected packages
taskflow-ai
- Ecosystem
- npm
- Affected
- < 2.1.9
- Fixed in
- 2.1.9
- Check
npm ls taskflow-ai
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A security flaw has been discovered in Agions taskflow-ai up to 2.1.8. This impacts an unknown function of the file src/mcp/server/handlers.ts of the component terminal_execute. Performing a manipulation results in os command injection. The attack is possible to be carried out remotely. Upgrading to version 2.1.9 will fix this issue. The patch is named c1550b445b9f24f38c4414e9a545f5f79f23a0fe. Upgrading the affected component is recommended. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-5831
- https://github.com/Agions/taskflow-ai/issues/2
- https://github.com/Agions/taskflow-ai/commit/c1550b445b9f24f38c4414e9a545f5f79f23a0fe
- https://github.com/Agions/taskflow-ai
- https://github.com/Agions/taskflow-ai/releases/tag/v2.1.9
- https://vuldb.com/submit/789515
- https://vuldb.com/vuln/356278
- https://vuldb.com/vuln/356278/cti
- https://github.com/advisories/GHSA-3xp3-pr8x-f755
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
