# CVE-2026-5831: Agions taskflow-ai terminal_execute handlers.ts os command injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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/E:X`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.27%, higher than 70% of CVEs (2026-12-01)
- Published: 2026-04-09T01:45:15.048Z
- Modified: 2026-07-24T09:10:00.153Z
- Also known as: GHSA-3xp3-pr8x-f755
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- Agions taskflow-ai: 2.1.0; 2.1.1; 2.1.2; 2.1.3; 2.1.4; 2.1.5; 2.1.6; 2.1.7; 2.1.8 (not affected: 2.1.9)
- taskflow-ai (npm): before 2.1.9

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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/E:X`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://vuldb.com/vuln/356278> (vdb-entry, web)
- <https://vuldb.com/vuln/356278/cti> (permissions-required, signature, web)
- <https://vuldb.com/submit/789515> (third-party-advisory, web)
- <https://github.com/Agions/taskflow-ai/issues/2> (issue-tracking, web)
- <https://github.com/Agions/taskflow-ai/commit/c1550b445b9f24f38c4414e9a545f5f79f23a0fe> (patch, web)
- <https://github.com/Agions/taskflow-ai/releases/tag/v2.1.9> (patch, web)
- <https://github.com/Agions/taskflow-ai/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5831> (advisory)
- <https://github.com/Agions/taskflow-ai> (package)

## Sources

- CVE List: [CVE-2026-5831](https://www.cve.org/CVERecord?id=CVE-2026-5831), CVE Terms of Use, modified 2026-04-09
- GitHub Advisory Database: [GHSA-3xp3-pr8x-f755](https://github.com/advisories/GHSA-3xp3-pr8x-f755), CC-BY-4.0, modified 2026-04-10
- NVD: [CVE-2026-5831](https://nvd.nist.gov/vuln/detail/CVE-2026-5831), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-5831 · Whole record: https://cve.day/CVE-2026-5831.json · Rebuilt by cve.day 2026-11-25T22:59:18.354Z
