{"id":"CVE-2022-51027","aliases":[],"title":"MeterSphere < 1.14.7 / 1.16.4 Pre-Auth RCE via /plugin/customMethod","originalDescription":"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.","severity":{"cvss":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","label":"critical"},"exploitation":{"kev":null,"epss":{"score":0.00782,"percentile":0.57386},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"MeterSphere","range":">=1.13.0, <1.14.7","fixed":"1.14.7"},{"ecosystem":"vendor","name":"MeterSphere","range":">=1.15.0, <1.16.4","fixed":"1.16.4"}],"references":[{"url":"https://web.archive.org/web/20220706000509/https://y4er.com/post/metersphere-plugincontroller-pre-auth-rce/","type":"technical-description"},{"url":"https://github.com/metersphere/metersphere/commit/07155cf833","type":"patch"},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/metersphere/metersphere-plugin-rce.yaml","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/metersphere-1.13.0-1.16.3-pre-auth-rce-via-plugin-custommethod","type":"third-party-advisory"},{"url":"https://www.vulncheck.com/advisories/metersphere-1.14.7-1.16.4-pre-auth-rce-via-plugin-custommethod","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51027.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51027","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-18T17:36:56.268Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51027","license":"NVD terms of use","firstSeenAt":"2026-11-18T16:30:57.007Z"},{"name":"osv","at":"2026-11-19T22:52:03.541Z","url":"https://osv.dev/vulnerability/CVE-2022-51027","license":"CC-BY 4.0","firstSeenAt":"2026-11-18T17:04:32.344Z"},{"name":"cvelistV5","at":"2026-11-19T21:46:29.963Z","url":"https://www.cve.org/CVERecord?id=CVE-2022-51027","license":"CVE Terms of Use","firstSeenAt":"2026-11-18T15:55:17.599Z"}],"firstSeenAt":"2026-11-18T15:55:17.599Z","publishedAt":"2026-11-18T15:35:09.696Z","modifiedAt":"2026-11-19T22:00:20.436Z"}