ZeroHour

CVE-2025-27364

niche

Unauthenticated RCE in MITRE Caldera agent compilation service

CVSS 3.1
10.0 critical
EPSS
26%p98
Published
()
Modified
AI analysis

MITRE Caldera, an open-source adversary emulation platform, contains a critical unauthenticated remote code execution flaw (CWE-78 command injection) in the server component that dynamically compiles its Sandcat and Manx agent implants. A remote attacker with no credentials can trigger it by sending a crafted web request to the Caldera server API used for compiling and downloading these agents, abusing the gcc -extldflags linker flag to inject and execute sub-commands. Successful exploitation yields arbitrary code execution on the host running Caldera, with the changed scope and high confidentiality/integrity/availability impact indicating full compromise beyond the application itself. All deployments through 4.2.0 and 5.0.0 builds prior to fix commit 35bc06e are affected. Exploitation has not been confirmed in the wild and no public PoC is known, but EPSS assigns a roughly 26% probability of exploitation within 30 days (98th percentile), so defenders should treat it as likely to be targeted soon.

What to do: Upgrade Caldera to a 5.0.0 build at or after commit 35bc06e (the fixed version); deployments on 4.x or unpatched 5.0.0 builds should move to the patched code. Until then, restrict network access to the Caldera server and its agent compile/download API, and check server logs for unauthenticated requests to the Sandcat/Manx compilation endpoint containing gcc -extldflags parameters, followed by host-level review for unexpected command execution.

Affected
MITRE Calderathrough 4.2.0, and 5.0.0 before fix commit 35bc06e
Estimated exposure
nichelikely on the order of thousands of Caldera server deployments worldwide (estimate; no published install base), with only a fraction internet-exposed — Caldera is a specialized adversary-emulation framework typically run as one or a few internal servers per security team or research lab rather than at consumer scale, so the exposed footprint is small, though exact counts are not published.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

In the news