Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. taskflow-ai
  4. ›
  5. CVE-2026-5831

CVE-2026-5831: Agions taskflow-ai vulnerable to os command injection in src/mcp/server/handlers.ts

April 9, 2026 (updated April 10, 2026)

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

  • github.com/Agions/taskflow-ai
  • github.com/Agions/taskflow-ai/commit/c1550b445b9f24f38c4414e9a545f5f79f23a0fe
  • github.com/Agions/taskflow-ai/issues/2
  • github.com/Agions/taskflow-ai/releases/tag/v2.1.9
  • github.com/advisories/GHSA-3xp3-pr8x-f755
  • nvd.nist.gov/vuln/detail/CVE-2026-5831
  • vuldb.com/submit/789515
  • vuldb.com/vuln/356278
  • vuldb.com/vuln/356278/cti

Code Behaviors & Features

Detect and mitigate CVE-2026-5831 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.9

Fixed versions

  • 2.1.9

Solution

Upgrade to version 2.1.9 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

npm/taskflow-ai/CVE-2026-5831.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:25 +0000.