Common Weakness Enumeration

    CWE Definition / CWE-78

    CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

    The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:30 Apr 2026

    Related Weakness

    CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

    CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

    CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

    CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

    CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')