CVE-2026-22789 Details
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.
A file upload validation bypass vulnerability has been identified in WebErpMesv2 versions prior to 1.19. This vulnerability exists in multiple controllers and allows authenticated users to upload arbitrary files, including PHP scripts. The flaw can be exploited to execute remote code on the server. The issue arises because the validation process incorrectly checks for a field named 'image', while the actual file upload is handled through a different field called 'picture', which is not validated. As a result, an attacker can bypass the file type restrictions and upload malicious files. This vulnerability is similar to CVE-2025-52130 but was not addressed in the same code locations.
Users are advised to update to WebErpMesv2 version 1.19, where this vulnerability has been fixed. The fix involved correcting the validation to check the 'picture' field instead of 'image', and ensuring that uploaded files are properly handled and stored securely.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
| CWE-616 | Incomplete Identification of Uploaded File Variables (PHP) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wem-project wem | 1.18 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 21, 2026 | Initial Analysis | [email protected] |
| Jan 13, 2026 | CVE Modified | CISA-ADP |
| Jan 12, 2026 | New CVE Received | [email protected] |