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

Medium 5.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-5831?

CVE-2026-5831 is a medium-severity vulnerability in Agions taskflow-ai, published on 9 Apr 2026.

Official 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.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2026-5831?

2 open source packages ship an affected version, including taskflow-ai.

PackageAffectedFixed in
taskflow-ai npmAll versions2.1.9
taskflow-ai npmAll versions2.1.9

How do I fix CVE-2026-5831?

Upgrade taskflow-ai to 2.1.9 or later.

Is CVE-2026-5831 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5831 exists.

Sources

Also known as GHSA-3xp3-pr8x-f755.

Is CVE-2026-5831 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free