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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

148 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, OtherExecute 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)
ImplementationWhere 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 DesignUnderstand 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.
ImplementationAssume 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…
ImplementationDirectly 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.
ImplementationInputs 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 IDTitleCVSSSeverityPublished
CVE-2026-45181 IDA Pro 9.2/9.3插件目录代码注入漏洞 — IDA 6.5 Medium2026-05-09
CVE-2026-42601 ArchiveBox Vulnerable to RCE via unvalidated per-crawl config overrides in AddView — ArchiveBox 9.8AICriticalAI2026-05-09
CVE-2026-43941 Unvalidated shell.openExternal in electerm allows arbitrary protocol execution via terminal link click — electerm 9.6 Critical2026-05-08
CVE-2026-42284 GitPython: Unsafe option check validates multi_options before shlex.split transforms it — GitPython 8.1 High2026-05-07
CVE-2026-40281 Gotenberg vulnerable to argument injection via newlines in ExifTool metadata values — gotenberg 10.0 Critical2026-05-06
CVE-2026-7865 Hidden Console Command — Touchpanels (x60/x70) 8.8 -2026-05-05
CVE-2026-7725 PrefectHQ prefect GitRepository Pull storage.py argument injection — prefect 6.3 Medium2026-05-04
CVE-2026-40938 Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE — pipeline 7.5 High2026-04-21
CVE-2026-6437 AWS EFS CSI Driver Mount Option Injection — AWS EFS CSI Driver 6.5 Medium2026-04-17
CVE-2026-35153 Dell PowerProtect Data Domain(Dell PowerProtect DD) 安全漏洞 — PowerProtect Data Domain 6.7 Medium2026-04-17
CVE-2026-4145 Lenovo Software Fix 安全漏洞 — Software Fix 7.8 High2026-04-15
CVE-2026-39884 MCP Server Kubernetes has Argument Injection in its port_forward tool via space-splitting — mcp-server-kubernetes 8.3 High2026-04-14
CVE-2026-35033 Jellyfin: Potential SSRF + Arbitrary file read via stream argument injection — jellyfin 7.5 -2026-04-14
CVE-2026-2449 upKeeper Instant Privilege Access 安全漏洞 — upKeeper Instant Privilege Access 9.8 -2026-04-14
CVE-2026-40113 PraisonAI has an Argument Injection into Cloud Run Environment Variables via Unsanitized Comma in gcloud --set-env-vars — PraisonAI 8.4 High2026-04-09
CVE-2026-34769 Electron: Renderer command-line switch injection via undocumented commandLineSwitches webPreference — electron 7.8 High2026-04-03
CVE-2026-35538 Roundcube Webmail 参数注入漏洞 — Webmail 3.1 Low2026-04-03
CVE-2026-0634 Code Execution in AssistFeedbackService on TECNO Pova7 Pro 5G — TECNO Pova7 Pro 5G 7.8AIHighAI2026-04-02
CVE-2026-23924 Agent 2 Docker plugin arbitrary file read via Docker API injection — Zabbix 6.5 -2026-03-24
CVE-2026-2298 Salesforce Marketing Cloud Engagement 安全漏洞 — Marketing Cloud Engagement 7.5AIHighAI2026-03-23
CVE-2026-29608 OpenClaw 2026.3.1 < 2026.3.2 - Approval Integrity Bypass via system.run argv Rewriting — OpenClaw 6.7 Medium2026-03-19
CVE-2026-22168 OpenClaw < 2026.2.21 - Command Injection via cmd.exe /c Trailing Arguments in system.run — OpenClaw 6.5 Medium2026-03-18
CVE-2026-1717 Lenovo Vantage和Lenovo Baiying 安全漏洞 — Vantage 5.5 Medium2026-03-11
CVE-2026-1716 Lenovo Vantage和Lenovo Baiying 安全漏洞 — Vantage 7.1 High2026-03-11
CVE-2026-1715 Lenovo Vantage和Lenovo Baiying 安全漏洞 — Vantage 7.1 High2026-03-11
CVE-2026-25689 Fortinet FortiDeceptor 参数注入漏洞 — FortiDeceptor 6.0 Medium2026-03-10
CVE-2025-41761 Privilege escalation possible — UBR-01 Mk II 7.8 High2026-03-09
CVE-2026-3682 welovemedia FFmate ffmpeg.go Execute argument injection — FFmate 6.3 Medium2026-03-07
CVE-2026-26194 Gogs: Release tag option injection in release deletion — gogs 7.1 -2026-03-05
CVE-2026-20016 Cisco Secure Firewall Adaptive Security Appliance和Cisco Secure Firewall Threat Defense 参数注入漏洞 — Cisco Secure Firewall Threat Defense (FTD) Software 6.0 Medium2026-03-04

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