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-114262 Overview
CVE-2026-114262 is an unrestricted file upload vulnerability in the file-management-system project by MomoTommy, affecting commit dc9ce1bf27f94b23d906cb1e86ce374dc94ca5df. The flaw resides in the store function of app/Http/Controllers/FileController.php, where the File argument is processed without proper upload restrictions. Remote attackers can abuse this weakness to upload arbitrary files to the server. The exploit has been publicly disclosed. Because the project follows a rolling release model, no specific fixed version is available, and the maintainer has not responded to the issue report.
Critical Impact
Remote, unauthenticated attackers can upload arbitrary files through the vulnerable store endpoint, potentially leading to webshell deployment and server compromise.
Affected Products
- MomoTommy file-management-system (rolling release)
- Vulnerable commit: dc9ce1bf27f94b23d906cb1e86ce374dc94ca5df
- Component: app/Http/Controllers/FileController.php (store function)
Discovery Timeline
- 2026-10-21 - CVE-2026-114262 published to the National Vulnerability Database (NVD)
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-114262
Vulnerability Analysis
The vulnerability is categorized under [CWE-284] Improper Access Control and manifests as an unrestricted file upload. The store method in FileController.php accepts the File parameter from client requests and persists the content without enforcing restrictions on file type, extension, MIME type, or content inspection.
An attacker reaching the upload endpoint over the network can submit executable server-side scripts, such as PHP files, disguised or declared as any file type. If the upload destination falls within a web-accessible directory served by the PHP interpreter, the attacker can trigger execution by requesting the uploaded file.
The issue requires no authentication, no user interaction, and low attack complexity. The impact spans confidentiality, integrity, and availability at a limited scope, consistent with partial server compromise through planted content.
Root Cause
The root cause is missing server-side validation in the store controller action. The handler trusts the uploaded File argument and writes it to storage without verifying extension allowlists, enforcing MIME type checks, randomizing filenames, or placing uploads outside executable paths. The absence of access control on who may invoke the endpoint compounds the exposure.
Attack Vector
Exploitation occurs remotely over HTTP. An attacker crafts a multipart POST request to the file upload route handled by FileController@store, supplying a malicious payload in the File field. Because no filtering is applied, the attacker chooses the extension and content, enabling webshell delivery, overwriting of existing resources, or storage abuse.
Technical details are published in the GitHub Issue Discussion and the VulDB Vulnerability Details entry.
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-114262
Indicators of Compromise
- Unexpected files with executable extensions (.php, .phtml, .phar, .jsp) appearing in the application's upload storage directory.
- HTTP POST requests to the file upload route containing suspicious Content-Type or multipart boundaries with script payloads.
- Outbound connections from the web server process shortly after upload activity, indicating possible webshell callback.
Detection Strategies
- Review web server and application logs for POST requests targeting the store endpoint of FileController.php with anomalous file extensions.
- Monitor the uploads directory for new files whose extensions are not in the application's expected allowlist.
- Correlate file write events with subsequent GET requests to the same filename, which indicates attempted execution of planted content.
Monitoring Recommendations
- Enable file integrity monitoring on upload directories and web roots to flag new or modified executable files.
- Alert on web application firewall (WAF) events indicating uploads of PHP or shell content.
- Capture and retain full HTTP request bodies for the upload endpoint to support forensic analysis.
How to Mitigate CVE-2026-114262
Immediate Actions Required
- Restrict network exposure of the file-management-system deployment until the maintainer responds and a fix is released.
- Place a reverse proxy or WAF in front of the application with rules that block uploads of server-executable file types.
- Configure the web server to deny execution of scripts within the uploads directory, for example by disabling PHP handlers in that path.
- Audit the uploads directory for unexpected files and remove any suspected webshells.
Patch Information
No official patch is available. The project uses a rolling release model, and the maintainer has not responded to the GitHub issue describing the flaw. Consult the VulDB CVE Entry for status updates.
Workarounds
- Implement a server-side allowlist of permitted file extensions and MIME types in the store method before persisting uploads.
- Rename uploaded files with server-generated identifiers and strip original extensions to prevent attacker-controlled filenames.
- Store uploads outside the webroot and serve them through a controller that sets a safe Content-Type and Content-Disposition: attachment.
- Require authentication and authorization checks on the upload route to limit who may call the endpoint.
# Example nginx configuration to deny script execution in uploads directory
location ^~ /storage/uploads/ {
location ~ \.(php|phtml|phar|jsp|cgi|pl|py|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

