CVE-2026-49827 WebErpMesv2 has Unauthenticated RCE via Unrestricted File Upload in HR Expense scan_file (CWE-434)
Attackers can upload arbitrary PHP files to achieve remote code execution on WebErpMesv2 installations due to unrestricted file upload and broken authentication checks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-49827?
CVE-2026-49827 is a critical vulnerability in SMEWebify WebErpMesv2, published on 13 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
WebErpMesv2 is a Resource Management and Manufacturing execution system Web for industry. Versions 1.19 and prior allow any self-registered user to upload arbitrary PHP files through the HR Expense scan_file parameter, leading to Remote Code Execution. Combined with open registration (no invite required) and broken role middleware (CheckUserRole silently swallows RouteNotFoundException), this chain is effectively unauthenticated RCE against any default installation. The issue is patched in commit 5c54862fa044b363fd2be03d586750e81afd6818.
Which versions are affected by CVE-2026-49827?
How do I fix CVE-2026-49827?
No fix has been published for CVE-2026-49827 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-49827 being exploited?
There is no known exploitation of CVE-2026-49827 in the wild and no public exploit code.
Sources
Also known as GHSA-chhq-7p67-2ff9.