---
id: CVE-2022-51027
title: MeterSphere < 1.14.7 / 1.16.4 Pre-Auth RCE via /plugin/customMethod
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 PO…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-306
vendor: FIT2CLOUD
product: MeterSphere
affected:
  - MeterSphere >= 1.13.0 < 1.14.7
  - MeterSphere >= 1.15.0 < 1.16.4
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-11-18T16:34:17.363643Z'
exploitAvailable: true
published: '2026-11-18'
updated: '2026-11-18'
sourceUpdated: '2026-11-18T16:34:29.151Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-51027'
references:
  - url: >-
      https://web.archive.org/web/20220706000509/https://y4er.com/post/metersphere-plugincontroller-pre-auth-rce/
    label: Archived Researcher Blog
  - url: 'https://github.com/metersphere/metersphere/commit/07155cf833'
    label: Fix Commit
  - url: >-
      https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/metersphere/metersphere-plugin-rce.yaml
    label: Nuclei Template
  - url: >-
      https://www.vulncheck.com/advisories/metersphere-1.13.0-1.16.3-pre-auth-rce-via-plugin-custommethod
    label: >-
      VulnCheck Advisory: MeterSphere 1.13.0-1.16.3 Pre-Auth RCE via
      /plugin/customMethod
  - url: >-
      https://www.vulncheck.com/advisories/metersphere-1.14.7-1.16.4-pre-auth-rce-via-plugin-custommethod
    label: >-
      VulnCheck Advisory: MeterSphere < 1.14.7 / 1.16.4 Pre-Auth RCE via
      /plugin/customMethod
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-11-18T16:12:34.606Z'
---

## Overview

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.

## Affected

- `MeterSphere >= 1.13.0 < 1.14.7`
- `MeterSphere >= 1.15.0 < 1.16.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
