- What is CWE-77?
- The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
- What CVEs are caused by CWE-77?
- 2,075 recorded CVEs are attributed to CWE-77, including CVE-2025-10035, CVE-2024-55956, CVE-2005-2773. 31 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
- Is CWE-77 part of the OWASP Top 10?
- CWE-77 maps to OWASP Top Ten 2007: Injection Flaws (A2) in the OWASP security taxonomy.
- How do you prevent CWE-77?
- If at all possible, use library calls rather than external processes to recreate the desired functionality.
- How is CWE-77 detected?
- 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.)
- What are the consequences of CWE-77?
- Exploiting CWE-77 can lead to: Execute Unauthorized Code or Commands.
- Is CWE-77 actively exploited?
- Yes. 31 CWE-77 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 2,075 recorded CVEs.