CVE-2022-51027
CriticalCVSS 9.8Exploitation Probability (EPSS)
Elevated risk57th percentile - higher than 57% of all known CVEs
Summary
MeterSphere versions 1.13.0 before 1.14.7 and 1.15.0 before 1.16.4 contain a pre-authentication code injection vulnerability due to the /plugin/** endpoints being exposed with anonymous access. Attackers can upload a malicious jar via POST /plugin/add and invoke it through POST /plugin/customMethod using the 'entry' and 'request' parameters, which are passed to Class.forName and method invocation for remote code execution.
Risk Assessment
An unauthenticated attacker could remotely execute arbitrary code, leading to full compromise of the MeterSphere platform and related data.
Recommendation
Update MeterSphere to version 1.14.7 or 1.16.4 (or later) and restrict anonymous access to the /plugin/** endpoints.
Other vulnerabilities in MeterSphere
See all- CVE-2026-145814High
MeterSphere 3.6.4-lts through 3.6.10-lts contains an authentication bypass vulnerability in ApiKeyHandler.getUser that allows unauthenticated attackers to log in using only a valid accessKey. Attackers can send a signature header lacking the '|' separator to skip secretKey, accessKey match, and timestamp checks, gaining the key owner's privileges, including administrator control.
- CVE-2025-53639Critical
MeterSphere is an open source continuous testing platform. Prior to version 3.6.5-lts, the sortField parameter in certain API endpoints is not properly validated or sanitized. An attacker can supply crafted input to inject and execute arbitrary SQL statements through the sorting functionality. This could result in modification or deletion of database contents, with a potential full compromise of the application's database integrity and availability. Version 3.6.5-lts fixes the issue.
- CVE-2025-62604High
Prior to version 2.10.25-lts, a logic flaw allows retrieval of arbitrary user information. This allows an unauthenticated attacker to log in to the system as any user. This issue has been patched in version 2.10.25-lts.
- CVE-2023-37461Medium
Metersphere is an open-source testing framework that allows file uploads with a `belongType` value containing a relative path, which may lead to overwriting an existing file or creating a new one. Attackers can only overwrite files that the Metersphere process has access to.
- CVE-2023-35937Medium
Metersphere is an open source continuous testing platform. In versions prior to 2.10.2 LTS, some key APIs in Metersphere lack permission checks, allowing ordinary users to execute operations reserved for space or project administrators.
Original NVD description (English source)
MeterSphere versions 1.13.0 before 1.14.7 and 1.15.0 before 1.16.4 contain a pre-authentication code injection vulnerability due to the /plugin/** endpoints being exposed with anonymous access. Attackers can upload a malicious jar via POST /plugin/add and invoke it through POST /plugin/customMethod using the 'entry' and 'request' parameters, which are passed to Class.forName and method invocation for remote code execution. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

