# CVE-2026-22789: WebErpMesv2 has a File Upload Validation Bypass Leading to RCE

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-12T21:52:11.880Z
- Modified: 2026-06-17T10:20:25.863Z
- Weaknesses: CWE-434, CWE-616
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

WebErpMesv2 is a Resource Management and Manufacturing execution system Web for industry. Prior to 1.19, WebErpMesv2 contains a file upload validation bypass vulnerability in multiple controllers that allows authenticated users to upload arbitrary files, including PHP scripts, leading to Remote Code Execution (RCE). This vulnerability is identical in nature to CVE-2025-52130 but exists in different code locations that were not addressed by the original fix. This vulnerability is fixed in 1.19.

(As written by CVE List.)

## Affected

- SMEWebify WebErpMesv2: < 1.19
- wem-project wem: 1.18

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/SMEWebify/WebErpMesv2/security/advisories/GHSA-64rv-f829-x6m4> (exploit, vendor-advisory)
- <https://github.com/SMEWebify/WebErpMesv2/commit/c9e7f4a85aeb774a0ea4b61ad57a51b941166b69> (patch)

## Sources

- CVE List: [CVE-2026-22789](https://www.cve.org/CVERecord?id=CVE-2026-22789), CVE Terms of Use, modified 2026-01-13
- NVD: [CVE-2026-22789](https://nvd.nist.gov/vuln/detail/CVE-2026-22789), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22789 · Whole record: https://cve.day/CVE-2026-22789.json · Rebuilt by cve.day 2026-11-25T22:59:12.737Z
