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.
Published: 2026-08-13
Score: 9.8 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

WebErpMesv2, a resource and manufacturing execution system, contains an unrestricted file‑upload flaw in the HR Expense scan_file parameter that allows any self‑registered user to upload arbitrary PHP code. Combined with open registration and a broken role‑middleware check, an attacker can execute code without authentication, leading to complete compromise of the affected server. The vulnerability is an example of input validation (CWE‑434), insecure deserialization (CWE‑20), and missing authentication (CWE‑306).

Affected Systems

The flaw is present in SMEWebify WebErpMesv2 versions 1.19 and earlier. A default installation with open registration and no invite requirement is vulnerable unless the patch from commit 5c54862fa044b363fd2be03d586750e81afd6818 is applied.

Risk and Exploitability

The CVSS score is 9.8, reflecting a high‑severity remote code execution risk. EPSS data is not available, and the vulnerability is not listed in CISA KEV, but the lack of authentication combined with the web‑based upload means it can be exploited by any user with network access to the web console. Immediate patching or mitigation is essential to prevent attacker‑initiated compromise.

Generated by OpenCVE AI on August 13, 2026 at 15:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch from commit 5c54862fa044b363fd2be03d586750e81afd6818
  • Disable the scan_file file upload feature until the patch is applied
  • Enable proper authentication and role‑based access control for the HR Expense module

Generated by OpenCVE AI on August 13, 2026 at 15:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
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.
Title WebErpMesv2 has Unauthenticated RCE via Unrestricted File Upload in HR Expense scan_file (CWE-434)
Weaknesses CWE-20
CWE-306
CWE-434
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-13T12:51:54.618Z

Reserved: 2026-06-01T18:50:36.055Z

Link: CVE-2026-49827

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T13:19:10.050

Modified: 2026-08-13T13:19:10.050

Link: CVE-2026-49827

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T15:15:13Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-306

    Missing Authentication for Critical Function

  • CWE-434

    Unrestricted Upload of File with Dangerous Type