Vulnerabilities in pkg:npm/taskflow-ai
PACKAGECVE-2026-5831 is a MODERATE (CVSS 6.3) agions taskflow-ai vulnerable to os vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Taskflow ai libraries in the npm ecosystem. The issue involves agions taskflow-ai vulnerable to os command injection in src/mcp/server/handlers.ts. Remediation is available by upgrading affected packages to version 2.1.9.
pkg:npm/taskflow-ai
Vulnerability advisories affecting package pkg:npm/taskflow-ai. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-3xp3-pr8x-f755 | CVE-2026-5831 | MODERATE | Agions taskflow-ai vulnerable to os command injection in src/mcp/server/handlers.ts |
CVE-2026-5831 at a Glance
Security Impact
CVSS: 6.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2026-5831
To remediate this vulnerability, upgrade all affected Taskflow ai dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install taskflow-ai@2.1.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls taskflow-ai
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-5831, inspect your project dependencies using npm:
npm ls taskflow-ai
Analyze the terminal output to locate any version of Taskflow ai in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.9), your application is affected.
Note: The npm ls taskflow-ai command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Taskflow ai, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-5831 Affected Taskflow ai Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
taskflow-ai
|
npm |
< 2.1.9
|
2.1.9
|
References
Frequently Asked Questions
What is CVE-2026-5831?
Which Taskflow ai versions are affected?
What version fixes CVE-2026-5831?
Is taskflow-ai affected?
What is the CVSS score of CVE-2026-5831?
What CWE is associated with CVE-2026-5831?
How can I check npm dependencies for CVE-2026-5831?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3xp3-pr8x-f755",
"modified" : "2026-04-10T19:19:46Z",
"published" : "2026-04-09T03:31:14Z",
"aliases" : [ "CVE-2026-5831" ],
"summary" : "Agions taskflow-ai vulnerable to os command injection in src/mcp/server/handlers.ts",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "taskflow-ai"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-5831"
}, {
"type" : "WEB",
"url" : "https://github.com/Agions/taskflow-ai/issues/2"
}, {
"type" : "WEB",
"url" : "https://github.com/Agions/taskflow-ai/commit/c1550b445b9f24f38c4414e9a545f5f79f23a0fe"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Agions/taskflow-ai"
}, {
"type" : "WEB",
"url" : "https://github.com/Agions/taskflow-ai/releases/tag/v2.1.9"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/789515"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/356278"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/356278/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-10T19:19:46Z",
"nvd_published_at" : "2026-04-09T02:16:18Z"
}
}