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

Medium 5.4 Published Updated

Authenticated attackers can bypass file upload validation to upload PHP scripts, resulting in remote code execution on the WebErpMesv2 server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-22789?

CVE-2026-22789 is a medium-severity vulnerability in SMEWebify WebErpMesv2, published on 12 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-616, CWE-434

Which versions are affected by CVE-2026-22789?

It affects 1 product.

Products include Wem-Project Wem.

How do I fix CVE-2026-22789?

No fix has been published for CVE-2026-22789 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-22789 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22789 exists.

Sources

Also known as GHSA-64rv-f829-x6m4.

Is CVE-2026-22789 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free