BaseDraft

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

Category: injection

Description

The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Common consequences· 1

  • Confidentiality / Integrity / Availability / Other — Execute Unauthorized Code or Commands, Alter Execution Logic, Read Application Data, Modify Application Data
    An attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified or could cause other unintended behavior.

Potential mitigations· 5

  • [Implementation]Where possible, avoid building a single string that contains the command and its arguments. Some languages or frameworks have functions that support specifying independent arguments, e.g. as an array, which is used to automatically perform the appropriate quoting or escaping while building the command. For example, in PHP, escapeshellarg() can be used to escape a single argument to system(), or exec() can be called with an array of arguments. In C, code can often be refactored from using system() - which accepts a single string - to using exec(), which requires separate function arguments for each parameter.
  • [Architecture and Design]Understand all the potential areas where untrusted inputs can enter your product: parameters or arguments, cookies, anything read from the network, environment variables, request headers as well as content, URL components, e-mail, files, databases, and any external systems that provide data to the application. Perform input validation at well-defined interfaces.
  • [Implementation]
  • [Implementation]Directly convert your input type into the expected data type, such as using a conversion function that translates a string into a number. After converting to the expected data type, ensure that the input's values fall within the expected range of allowable values and that multi-field consistencies are maintained.
  • [Implementation]

Related CAPEC attack patterns· 5

CAPEC-137CAPEC-174CAPEC-41CAPEC-460CAPEC-88

References

  1. https://cwe.mitre.org/data/definitions/88.html

Exploits (incoming)5

TypeTargetConfidenceTier
AttackPatternParameter Injectioncapec-137100%live
AttackPatternFlash Parameter Injectioncapec-174100%live
AttackPatternOS Command Injectioncapec-88100%live
AttackPatternHTTP Parameter Pollution (HPP)capec-460100%live
AttackPatternUsing Meta-characters in E-mail Headers to Inject Malicious Payloadscapec-41100%live

(incoming)44

TypeTargetConfidenceTier
VulnerabilityCVE-2025-12556cve-2025-125560%live
VulnerabilityCVE-2025-12613cve-2025-126130%live
VulnerabilityCVE-2025-1712cve-2025-17120%live
VulnerabilityCVE-2025-21613cve-2025-216130%live
VulnerabilityCVE-2025-31499cve-2025-314990%live
VulnerabilityCVE-2025-32931cve-2025-329310%live
VulnerabilityCVE-2025-3945cve-2025-39450%live
VulnerabilityCVE-2025-46835cve-2025-468350%live
VulnerabilityCVE-2025-49520cve-2025-495200%live
VulnerabilityCVE-2025-52480cve-2025-524800%live
VulnerabilityCVE-2025-59937cve-2025-599370%live
VulnerabilityCVE-2025-70327cve-2025-703270%live
VulnerabilityCVE-2026-0774cve-2026-07740%live
VulnerabilityCVE-2026-22168cve-2026-221680%live
VulnerabilityCVE-2026-22582cve-2026-225820%live
VulnerabilityCVE-2026-22583cve-2026-225830%live
VulnerabilityCVE-2026-22738cve-2026-227380%live
VulnerabilityCVE-2026-2298cve-2026-22980%live
VulnerabilityGNU InetUtils Argument Injection Vulnerabilitycve-2026-240610%live
VulnerabilityCVE-2026-24126cve-2026-241260%live
VulnerabilityCVE-2026-25134cve-2026-251340%live
VulnerabilityCVE-2026-27613cve-2026-276130%live
VulnerabilityCVE-2026-27947cve-2026-279470%live
VulnerabilityCVE-2026-31230cve-2026-312300%live
VulnerabilityCVE-2026-35033cve-2026-350330%live
VulnerabilityCVE-2026-3515cve-2026-35150%live
VulnerabilityCVE-2026-39884cve-2026-398840%live
VulnerabilityCVE-2026-40113cve-2026-401130%live
VulnerabilityCVE-2026-40281cve-2026-402810%live
VulnerabilityCVE-2026-40938cve-2026-409380%live

Showing top 30 of 44 by confidence. Click any target to see the full neighbourhood.

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Improper Neutralization of Special Elements used in a Command ('Command Injection')
CWE
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CWE
Improper Neutralization of Expression/Command Delimiters
CWE
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CWE
Improper Neutralization of Parameter/Argument Delimiters
CWE
Improper Neutralization of Variable Name Delimiters
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.