CVE-2026-49827
Received Received - Intake

Remote Code Execution in WebErpMesv2 via PHP File Upload

Vulnerability report for CVE-2026-49827, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
smewebify weberpmesv2 to 1.19 (exc)
smewebify weberpmesv2 to 1.20 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-49827 is an unauthenticated Remote Code Execution (RCE) vulnerability in WebErpMesv2 affecting versions 1.19 and prior. It allows any self-registered user to upload arbitrary PHP files via the HR Expense scan_file parameter without validation. Combined with open registration and broken role middleware, this enables unauthenticated RCE on default installations.

Detection Guidance

Check for unauthorized PHP files in web-accessible directories, particularly in HR Expense upload locations. Look for files with .php extensions in directories like /uploads/ or /storage/app/expenses/. Review web server access logs for POST requests to /expense/scan_file or similar endpoints with PHP file uploads.

Impact Analysis

An attacker could exploit this to execute arbitrary code on the server, leading to full system compromise. This could result in data theft, unauthorized access, system disruption, or further network infiltration. The high CVSS score of 9.8 reflects the severe potential impact.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection requirements and HIPAA's security rules. Organizations may face legal penalties, reputational damage, and loss of compliance certifications if exploited.

Mitigation Strategies

Apply the patch from commit 5c54862fa044b363fd2be03d586750e81afd6818. Disable open registration if enabled. Implement strict file upload validation for allowed types (jpeg, jpg, png, gif, pdf) with size limits. Move upload directories outside web root and use UUID filenames. Ensure role middleware enforces authentication checks explicitly.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49827. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart