---
id: CVE-2026-49827
title: >-
  WebErpMesv2 is a Resource Management and Manufacturing execution system Web
  for industry
summary: >-
  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 …
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-20
  - CWE-306
  - CWE-434
published: '2026-08-13'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-49827'
references:
  - url: >-
      https://github.com/SMEWebify/WebErpMesv2/commit/5c54862fa044b363fd2be03d586750e81afd6818
    label: security-advisories@github.com
  - url: >-
      https://github.com/SMEWebify/WebErpMesv2/security/advisories/GHSA-chhq-7p67-2ff9
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00862
epssPercentile: 0.56812
ingestedAt: '2026-09-18T20:51:25.605Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
