Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-112149 Overview
CVE-2026-112149 is an unrestricted file upload vulnerability in the vraj404 Criminal-Management-System project, affecting commits up to 2808d057e7ddc5295519a487365b0cacfd0ba8c4. The flaw resides in the move_uploaded_file function call inside home.php, where the my_img parameter is processed without proper validation. Remote attackers can exploit this issue over the network without authentication. The project follows a rolling release model, so no formal versioned fix is published. A public exploit exists, and the maintainer has not responded to the initial GitHub issue report. This weakness is classified under CWE-284: Improper Access Control.
Critical Impact
Remote attackers can upload arbitrary files through the my_img parameter in home.php, potentially leading to code execution and full application compromise.
Affected Products
- vraj404 Criminal-Management-System (rolling release)
- All commits up to and including 2808d057e7ddc5295519a487365b0cacfd0ba8c4
- The home.php component handling the my_img upload parameter
Discovery Timeline
- 2026-10-19 - CVE-2026-112149 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-112149
Vulnerability Analysis
The vulnerability affects the file upload handler in home.php within the Criminal-Management-System web application. The handler invokes PHP's move_uploaded_file function on the my_img request parameter without enforcing restrictions on file type, extension, or MIME content. An unauthenticated remote attacker can submit a crafted multipart request containing an executable PHP payload masquerading as an image. Once stored under the webroot, the uploaded file can be requested directly to achieve server-side code execution. Because the project is distributed as source and lacks tagged releases, downstream deployments are difficult to inventory and patch systematically.
Root Cause
The root cause is improper access control over the file upload operation, mapped to [CWE-284]. The my_img upload path neither validates the file extension against an allowlist, nor verifies the actual content type, nor stores files outside the web-accessible directory. The absence of authentication requirements further widens exposure.
Attack Vector
Exploitation requires only network access to the application. An attacker crafts an HTTP POST request to the home.php endpoint, supplying a PHP file through the my_img form field. The file is written to a predictable location under the webroot. The attacker then issues a GET request to the uploaded file to trigger execution under the privileges of the PHP process. See the GitHub issue tracker and the VulDB entry for CVE-2026-112149 for additional technical references.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-112149
Indicators of Compromise
- Unexpected .php, .phtml, or .phar files appearing in upload directories referenced by home.php.
- HTTP POST requests to home.php containing a my_img multipart field with non-image MIME content.
- Outbound connections from the web server process immediately following uploads, suggesting webshell callbacks.
- New or modified files under the webroot with timestamps correlating to anonymous POST traffic.
Detection Strategies
- Inspect web server access logs for POST requests to home.php originating from unauthenticated sessions.
- Deploy file integrity monitoring on application upload directories to detect new executable content.
- Apply web application firewall rules that block multipart uploads containing PHP tags (<?php) in the my_img field.
- Alert on execution of PHP scripts from directories that should contain only static assets.
Monitoring Recommendations
- Forward web server, PHP-FPM, and host process telemetry to a centralized analytics platform for correlation.
- Baseline normal upload file types and alert on deviations such as script or archive content.
- Track parent-child process relationships where the web server spawns shell interpreters or network utilities.
How to Mitigate CVE-2026-112149
Immediate Actions Required
- Remove or firewall off public access to the Criminal-Management-System application until a fix is applied.
- Audit upload directories for unauthorized files and remove any artifacts that cannot be attributed to legitimate activity.
- Restrict execution permissions on upload directories at the web server level to prevent interpretation of uploaded files.
- Rotate any credentials, API keys, or session secrets accessible from the compromised web server.
Patch Information
The maintainer has not responded to the original GitHub issue, and no official patch is available. Because the project uses a rolling release model, operators should apply source-level fixes locally. At minimum, enforce an allowlist of permitted image extensions, validate MIME types with finfo_file, rename uploaded files to non-executable names, and store them outside the webroot. Refer to the project repository for the latest state of the codebase.
Workarounds
- Add a web server rule denying execution of PHP in the upload directory, for example using an Apache <Directory> block or Nginx location directive.
- Place the application behind authentication at the reverse proxy layer to prevent unauthenticated access to home.php.
- Deploy a WAF signature inspecting the my_img multipart field for PHP shell indicators and dangerous extensions.
- Mount upload directories with the noexec option where supported by the host operating system.
# Nginx snippet: block script execution in the uploads directory
location ^~ /uploads/ {
location ~ \.(php|phtml|phar|pl|py|cgi|sh)$ {
deny all;
return 403;
}
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

