Appsecure logo

CVE-2026-22789: Medium Vulnerability in wem-project wem

A medium-severity file upload validation bypass vulnerability in wem-project's WebErpMesv2 allows authenticated users to upload arbitrary files, leading to potential remote code execution. Organizations should prioritize patching to mitigate risks associated with this vulnerability.

MEDIUMCVSS 5.4 · Published January 12, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2026-22789 is a medium-severity vulnerability affecting the wem-project's WebErpMesv2, a Resource Management and Manufacturing execution system for industry. Prior to version 1.19, this system contains a file upload validation bypass vulnerability across multiple controllers. This flaw allows authenticated users to upload arbitrary files, including PHP scripts, which could lead to Remote Code Execution (RCE). The potential impact of this vulnerability is significant, as it may allow attackers to execute malicious code on the server.

The severity of this vulnerability is categorized as medium, with a CVSS score of 5.4. The risk to organizations includes unauthorized access to sensitive data and potential system compromise. As this vulnerability is similar in nature to CVE-2025-52130, but exists in different code locations, organizations must ensure that they apply the latest patches to mitigate this risk. The fixed version is 1.19, released shortly after the discovery.

Currently, no known exploits exist in the wild, and it is not classified as actively exploited. Organizations should still treat it with urgency and prioritize patching immediately to safeguard their systems.

The urgency for defenders to address this vulnerability stems from its nature and the potential for exploitation if left unpatched. With the increasing sophistication of attackers, timely remediation is crucial.

Vulnerability Details

According to the official CVE description, this vulnerability allows authenticated users to perform actions that should be restricted due to improper validation of file uploads. The issue is classified under CWE-434 (Unrestricted File Upload) and CWE-616 (Inclusion of Sensitive Information in URL).

The CVSS vector for this vulnerability is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, indicating a low attack complexity with a network attack vector. The base score of 5.4 suggests a medium severity level, with confidentiality and integrity impacts rated as low, while availability remains unaffected.

Technical Analysis

The root cause of this vulnerability lies in the inadequate validation of file uploads within the WebErpMesv2 system. The attack vector is network-based, requiring only low privileges from the attacker, and does not necessitate user interaction. This indicates that an authenticated user could exploit this vulnerability without additional hurdles.

Impact analysis shows that both confidentiality and integrity are at risk due to the nature of arbitrary file uploads. Attackers could potentially upload malicious scripts that, once executed, could compromise the system and expose sensitive data.

Risk & Impact Analysis

The deployment of WebErpMesv2 with this vulnerability poses a significant risk to organizations. If exploited, the vulnerability could allow attackers to execute arbitrary code, leading to unauthorized access and potential data breaches. The blast radius for this vulnerability is extensive, considering that authenticated users may have varying levels of access to sensitive resources.

Given the CVSS score of 5.4, organizations should treat this vulnerability with medium urgency. It is essential to prioritize remediation in the upcoming patch cycle to reduce the risk of exploitation. Addressing this vulnerability is critical, considering the potential for attackers to leverage it for gaining unauthorized access.

Exploitation Status

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

The affected versions of the wem-project include all versions prior to vendor patch 1.19. The vulnerability is confirmed in version 1.18, where the file upload validation bypass exists.

Mitigation & Remediation

Organizations should prioritize patching the WebErpMesv2 system to version 1.19 or higher to mitigate this vulnerability. If immediate patching is not feasible, consider implementing workarounds such as restricting file upload types and enhancing validation mechanisms. It is also recommended to conduct a thorough security assessment of the application to identify other potential vulnerabilities.

For more details on effective security strategies, organizations can refer to our application security assessment services.

Detection Guidance

To effectively monitor for potential exploitation of this vulnerability, organizations should implement logging mechanisms to track file uploads and review logs for any unusual file types. Additionally, organizations should monitor for behavioral anomalies that could indicate attempted exploitation, such as unexpected PHP script execution.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2026-22789 lies in the growing concern over file upload vulnerabilities and their exploitation potential. This vulnerability reflects a pattern in which attackers leverage existing flaws in widely used applications to gain unauthorized access. Security teams must take proactive measures to secure their applications against such vulnerabilities.

For organizations looking to enhance their security posture, implementing a penetration testing methodology can help identify vulnerabilities before they are exploited.

Additionally, organizations should consider integrating continuous security testing to keep pace with evolving threats. Our continuous penetration testing services offer a robust solution to identify and address vulnerabilities in real-time.

Finally, organizations should stay informed about emerging threats and vulnerabilities by regularly reviewing industry reports and updates. Engaging in a vulnerability management program will help foster a culture of security awareness and preparedness.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.