CWE-114: Process Control

low-risk

Executing commands or loading libraries from an untrusted source or in an untrusted environment can cause an application to execute malicious commands (and payloads) on behalf of an attacker.

Abstraction: Class

Common Consequences

Confidentiality Execute Unauthorized Code or Commands

Detection Methods

Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Real-World Examples (10)

CVE CVSS EPSS KEV
CVE-2022-23748 7.8 11.7% Y
CVE-2024-32004 8.1 2.4%
CVE-2020-11075 7.7 1.1%
CVE-2019-8458 4.4 0.5%
CVE-2026-29046 8.2 0.2%
CVE-2024-56346 10.0 0.2%
CVE-2025-0160 8.1 0.2%
CVE-2019-8461 7.8 0.2%
CVE-2024-56347 9.6 0.2%
CVE-2024-25021 8.4 0.1%
2
/ 100
low-risk
Active Threat 1/50 · Minimal
Exploit Availability 1/50 · Minimal