CVE-2025-27364 Command injection in Caldera

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code on the Caldera server via crafted web requests to the agent compilation API.

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

What is CVE-2025-27364?

CVE-2025-27364 is a critical command injection vulnerability in MITRE Caldera, published on 24 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In MITRE Caldera through 4.2.0 and 5.0.0 before 35bc06e, a Remote Code Execution (RCE) vulnerability was found in the dynamic agent (implant) compilation functionality of the server. This allows remote attackers to execute arbitrary code on the server that Caldera is running on via a crafted web request to the Caldera server API used for compiling and downloading of Caldera's Sandcat or Manx agent (implants). This web request can use the gcc -extldflags linker flag with sub-commands.

Weakness: CWE-78

Which versions are affected by CVE-2025-27364?

How do I fix CVE-2025-27364?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-27364 being exploited?

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

Sources

Also known as GHSA-3xgj-vqg4-h895.

Is CVE-2025-27364 in your software?

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

Check your SBOMs for free