CVE-2024-9439 Remote Code Execution in transformeroptimus/superagi

High 8.8 Published Updated

Attackers can execute arbitrary code via unsanitized parameters in the agent template update API, leading to full system compromise.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-9439?

CVE-2024-9439 is a high-severity code injection vulnerability in transformeroptimus/superagi, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SuperAGI is vulnerable to remote code execution in the latest version. The `agent template update` API allows attackers to control certain parameters, which are then fed to the eval function without any sanitization or checks in place. This vulnerability can lead to full system compromise.

Weakness: CWE-94

Which versions are affected by CVE-2024-9439?

It affects 1 product.

Products include Superagi Superagi.

How do I fix CVE-2024-9439?

No fix has been published for CVE-2024-9439 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-9439 being exploited?

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

Sources

Also known as GHSA-mq78-p977-pwgv.

Is CVE-2024-9439 in your software?

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

Check your SBOMs for free