Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-88 (参数注入或修改) — Vulnerability Class 208

208 vulnerabilities classified as CWE-88 (参数注入或修改). AI Chinese analysis included.

CWE-88 represents a critical input validation weakness where software constructs command strings without properly delimiting arguments, options, or switches intended for external components. This flaw typically arises when developers interpolate user-controlled data directly into command lines, mistakenly assuming that only specified arguments will be processed. Attackers exploit this by injecting additional arguments or switches that alter the command’s behavior, potentially leading to unauthorized code execution or privilege escalation. To mitigate this risk, developers must strictly validate and sanitize all inputs before inclusion in command strings. Best practices include using parameterized APIs that separate commands from arguments, avoiding shell interpreters when possible, and employing allowlists to restrict acceptable input formats. By ensuring robust argument separation and rigorous input filtering, organizations can effectively prevent attackers from manipulating command execution contexts and maintain system integrity against injection-based attacks.

MITRE CWE 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. When creating commands using interpolation into a string, developers may assume that only the arguments/options that they specify will be processed. This assumption may be even stronger when the programmer has encoded the command in a way that prevents separate commands from being provided maliciously, e.g. in the case of shell metacharacters. When constructing the command, the developer may use whitespace or other delimiters that are required to separate arguments when the command. However, if an attacker can provide an untrusted input that contains argument-separating delimiters, then the resulting command will have more arguments than intended by the developer. The attacker may then be able to change the behavior of the command. Depending on the functionality supported by the extraneous arguments, this may have security-relevant consequences.
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.
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 …
Effectiveness: High
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 Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
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 Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180, CWE-181). Make sure that your application does not inadvertently decode the same input twice (CWE-174). Such errors could be used to bypass allowlist schemes by introducing dangerous inputs after they have been checked. Use libraries such as the OWASP ESAPI Canonicalizat…
Examples (2)
Consider the following program. It intends to perform an "ls -l" on an input filename. The validate_name() subroutine performs validation on the input to make sure that only alphanumeric and "-" characters are allowed, which avoids path traversal (CWE-22) and OS command injection (CWE-78) weaknesses. Only filenames like "abc" or "d-e-f" are intended to be allowed.
my $arg = GetArgument("filename"); do_listing($arg); sub do_listing { my($fname) = @_; if (! validate_name($fname)) { print "Error: name is not well-formed!\n"; return; } # build command my $cmd = "/bin/ls -l $fname"; system($cmd); } sub validate_name { my($name) = @_; if ($name =~ /^[\w\-]+$/) { return(1); } else { return(0); } }
Bad · Perl
if ($name =~ /^\w[\w\-]+$/) ...
Good · Perl
CVE-2016-10033 / [REF-1249] provides a useful real-world example of this weakness within PHPMailer.
CVE ID Title CVSS Severity Published
CVE-2026-50147 Metabase: Arbitrary File Read via MySQL Connection Property Injection — metabase 7.6 High 2026-07-15
CVE-2026-45068 Symfony: Argument Injection in SendmailTransport via Dash-Prefixed Recipient Address — symfony - - 2026-07-14
CVE-2026-61459 MCP Server Kubernetes < 3.9.0 Argument Injection via kubectl Structured Tools — mcp-server-kubernetes 9.8 Critical 2026-07-10
CVE-2026-57572 Crawl4AI: Unauthenticated RCE via Chromium launch-argument injection in browser_config.extra_args — crawl4ai 10.0 Critical 2026-07-06
CVE-2026-40047 Apache Camel: Camel-Docling: Insufficient validation of custom CLI arguments enables argument injection and path traversal in DoclingProducer — Apache Camel - - 2026-07-06
CVE-2026-14459 Argument Injection in TUBITAK BILGEM's pardus-software — pardus-software 8.8 High 2026-07-03
CVE-2026-12856 Vscode-java: vscode: command injection vulnerability in the javadoc hover provider of the vscode-java extension — Red Hat OpenShift Dev Spaces 3.29 8.8 High 2026-06-29
CVE-2026-50014 pnpm: Git Fetch Argument Injection via Lockfile resolution.commit — pnpm 6.4 Medium 2026-06-25
CVE-2026-48793 Jellyfin: Potential FFmpeg argument injection via unescaped subtitle file path — jellyfin 8.8 High 2026-06-24
CVE-2026-11968 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in TortoiseGit — TortoiseGit 5.5 Medium 2026-06-24
CVE-2026-44790 n8n: Arbitrary File Read via Git Node — n8n - - 2026-06-23
CVE-2026-12530 Improper neutralization of argument delimiters in AWS Bedrock AgentCore Python SDK install_packages() — bedrock-agentcore 7.3 High 2026-06-17
CVE-2026-47365 WebPros Toolkit 命令注入漏洞 — WordPress-Toolkit 9.9 Critical 2026-06-12
CVE-2026-47250 mcp-server-kubernetes: kubectl-generic flag injection enables Kubernetes bearer token exfiltration — mcp-server-kubernetes 6.1 Medium 2026-06-11
CVE-2026-53694 Potential local privileges escalation through argument injection in the nxchmod.sh script — NoMachine - - 2026-06-10
CVE-2026-52750 Ghidra < 12.1- Command Injection via URL Annotation Click — ghidra 7.8 High 2026-06-10
CVE-2026-11332 Ansible-core: argument injection in ansible-galaxy role install leads to arbitrary code execution — Red Hat Ansible Automation Platform 2.5 for RHEL 8 7.8 High 2026-06-05
CVE-2026-41013 Tenant-controlled comma smuggles arbitrary CIFS mount options — smb-volume-release - - 2026-06-01
CVE-2026-49373 JetBrains TeamCity 参数注入漏洞 — TeamCity 7.1 High 2026-05-29
CVE-2026-44449 Lumiverse: SMB `exists()` basename injection via smbclient `!cmd` escape — Lumiverse 9.1 Critical 2026-05-26
CVE-2026-44450 Lumiverse: RCE via MCP stdio argument injection — Lumiverse 9.9 Critical 2026-05-26
CVE-2026-3515 Argument Injection in prefecthq/prefect — prefecthq/prefect - - 2026-05-24
CVE-2026-47114 IINA < 1.4.3 Command Execution via iina://open URL Scheme — iina 8.8 High 2026-05-21
CVE-2026-8773 linlinjava litemall Database Setting DbUtil.java load argument injection — litemall 4.7 Medium 2026-05-18
CVE-2026-45158 OPNsense: Command Injection via Attacker-Controlled DHCP Config — core 9.1 Critical 2026-05-13
CVE-2026-44193 OPNsense: RCE via XMLRPC endpoint using `opnsense.restore_config_section` method — core 9.1 Critical 2026-05-13
CVE-2026-42266 JupyterLab has an Extension Manager API/GUI Policy Discrepancy allowing 3rd party (malicious) extensions install via POST request. — jupyterlab 8.8 High 2026-05-13
CVE-2026-25690 Fortinet FortiDeceptor 参数注入漏洞 — FortiDeceptor 4.0 Medium 2026-05-12
CVE-2025-40948 Siemens多款产品 参数注入漏洞 — RUGGEDCOM ROX MX5000 6.8 Medium 2026-05-12
CVE-2026-43893 exiftool-vendored: Argument injection via newline characters in tag names — exiftool-vendored.js 8.2 High 2026-05-11

Vulnerabilities classified as CWE-88 (参数注入或修改) represent 208 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.