CVE-2026-49827: CWE-20: Improper Input Validation in SMEWebify WebErpMesv2
WebErpMesv2 versions 1.19 and prior contain an improper input validation vulnerability that allows any self-registered user to upload arbitrary PHP files via the HR Expense scan_file parameter, resulting in remote code execution. The vulnerability is exacerbated by open registration and broken role middleware that silently swallows exceptions, enabling effectively unauthenticated remote code execution on default installations. A patch addressing this issue is available in commit 5c54862fa044b363fd2be03d586750e81afd6818.
AI Analysis
Technical Summary
CVE-2026-49827 affects WebErpMesv2, a resource management and manufacturing execution system. Versions 1.19 and earlier allow arbitrary PHP file uploads through the HR Expense scan_file parameter due to improper input validation (CWE-20) and insufficient access control (CWE-306). The broken role middleware (which swallows RouteNotFoundException) combined with open user registration enables unauthenticated attackers to achieve remote code execution. The vulnerability is patched in a specific commit identified as 5c54862fa044b363fd2be03d586750e81afd6818.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary code on the affected system, leading to full compromise including confidentiality, integrity, and availability impacts. The CVSS v3.1 score is 9.8 (critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A patch addressing this vulnerability is available in commit 5c54862fa044b363fd2be03d586750e81afd6818. Users should update WebErpMesv2 to a version that includes this fix. Until patched, restricting user registration and disabling the vulnerable file upload functionality can reduce risk.
CVE-2026-49827: CWE-20: Improper Input Validation in SMEWebify WebErpMesv2
Description
WebErpMesv2 versions 1.19 and prior contain an improper input validation vulnerability that allows any self-registered user to upload arbitrary PHP files via the HR Expense scan_file parameter, resulting in remote code execution. The vulnerability is exacerbated by open registration and broken role middleware that silently swallows exceptions, enabling effectively unauthenticated remote code execution on default installations. A patch addressing this issue is available in commit 5c54862fa044b363fd2be03d586750e81afd6818.
CVSS v3.1
Score 9.8critical
Affected software
SMEWebify
WebErpMesv2
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49827 affects WebErpMesv2, a resource management and manufacturing execution system. Versions 1.19 and earlier allow arbitrary PHP file uploads through the HR Expense scan_file parameter due to improper input validation (CWE-20) and insufficient access control (CWE-306). The broken role middleware (which swallows RouteNotFoundException) combined with open user registration enables unauthenticated attackers to achieve remote code execution. The vulnerability is patched in a specific commit identified as 5c54862fa044b363fd2be03d586750e81afd6818.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary code on the affected system, leading to full compromise including confidentiality, integrity, and availability impacts. The CVSS v3.1 score is 9.8 (critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A patch addressing this vulnerability is available in commit 5c54862fa044b363fd2be03d586750e81afd6818. Users should update WebErpMesv2 to a version that includes this fix. Until patched, restricting user registration and disabling the vulnerable file upload functionality can reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-01T18:50:36.055Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7dc619bf8831d5393e540f
Added to database: 08/13/2026, 13:26:49 UTC
Last enriched: 08/20/2026, 13:42:54 UTC
Last updated: 09/27/2026, 01:47:42 UTC
Views: 112
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.