Skip to main content
Vulnerability Database/CVE-2026-114259

CVE-2026-114259: File Management System PHP RCE Vulnerability

CVE-2026-114259 is a remote code execution flaw in oretnom23 File Management System PHP caused by unrestricted file upload. Attackers can exploit the save_files function to upload malicious files remotely. This article covers technical details, exploitation methods, security impact, and mitigation strategies.

Published:

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-114259 Overview

CVE-2026-114259 is an unrestricted file upload vulnerability in the oretnom23 file-management-system-php project. The flaw resides in the save_files function of admin_class.php and affects commits up to 2e3c1ebe60f121e8df4fb3f544f0e9591d9a01e4. An attacker can manipulate the Upload argument to place arbitrary files on the server without the type or content validation required for safe handling. The attack is remotely executable and requires no authentication or user interaction. A public exploit has been disclosed. Because the project ships as a rolling release, no fixed version identifier is available, and the maintainer has not yet responded to the issue report.

Critical Impact

Remote, unauthenticated attackers can upload arbitrary files to the server, enabling potential webshell deployment and follow-on code execution.

Affected Products

  • oretnom23 file-management-system-php up to commit 2e3c1ebe60f121e8df4fb3f544f0e9591d9a01e4
  • Rolling-release distributions of the project without a vendor-supplied patch
  • Deployments exposing admin_class.php upload functionality to untrusted networks

Discovery Timeline

  • 2026-10-21 - CVE-2026-114259 published to the National Vulnerability Database (NVD)
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-114259

Vulnerability Analysis

The vulnerability is classified as Improper Access Control [CWE-284] and manifests as unrestricted file upload. The save_files function in admin_class.php accepts attacker-controlled files through the Upload parameter without enforcing restrictions on file type, extension, MIME content, or destination path. An unauthenticated remote attacker can submit a crafted multipart request to the vulnerable endpoint and persist arbitrary content on the web server. When the upload directory sits within the web root and the server interprets scripting languages such as PHP, uploaded files can be requested directly and executed in the application context. The published proof of concept lowers the barrier to exploitation and increases the likelihood of opportunistic scanning.

Root Cause

The root cause is missing server-side validation inside save_files. The handler does not validate the uploaded file's extension against an allowlist, inspect MIME content, enforce a maximum size, or sanitize the destination filename. Combined with permissive upload directory settings, these omissions allow executable content to be stored and reached over HTTP.

Attack Vector

Exploitation requires only network access to the application. An attacker submits a POST request to the upload endpoint handled by save_files, supplying a malicious payload through the Upload parameter. Because no authentication is required, the request can originate from the public internet. See the GitHub issue discussion and VulDB entry for CVE-2026-114259 for the published technical details.

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 Attempts

Detection Methods for CVE-2026-114259

Indicators of Compromise

  • New files with executable extensions (.php, .phtml, .phar) appearing in the application's upload directory
  • POST requests to upload endpoints invoking admin_class.php with multipart Upload parameters from unauthenticated sources
  • Outbound connections initiated by the web server process shortly after an upload event
  • Modified timestamps on files inside the writable upload directory outside normal administrative activity

Detection Strategies

  • Monitor web server access logs for POST requests targeting admin_class.php upload actions, especially from unauthenticated sessions
  • Correlate file creation events in the upload directory with subsequent HTTP GET requests to the same files
  • Alert on web server processes spawning shells, interpreters, or network utilities, which indicates post-upload code execution

Monitoring Recommendations

  • Enable file integrity monitoring on web application directories, with elevated priority on upload paths
  • Centralize web server, PHP-FPM, and operating system telemetry in a SIEM for cross-source correlation
  • Baseline normal upload volume and file types, then alert on deviations such as script extensions or oversized payloads

How to Mitigate CVE-2026-114259

Immediate Actions Required

  • Restrict network access to the application until an upstream fix is available, placing it behind authentication and allowlisted IPs
  • Deploy a web application firewall (WAF) rule to block uploads containing script extensions or executable MIME types
  • Audit the upload directory for unexpected files and remove any unauthorized artifacts
  • Revoke execute permissions on the upload directory at the web server level to prevent interpretation of uploaded content

Patch Information

No vendor patch is available. The maintainer was notified through the GitHub issue tracker but has not responded. Because the project uses rolling releases, operators must apply source-level fixes directly to the save_files function or migrate to a maintained alternative. Monitor the project repository for upstream changes.

Workarounds

  • Modify save_files in admin_class.php to validate file extensions against a strict allowlist and reject all others
  • Store uploads outside the web root, serving them through a controlled handler that enforces content-type headers
  • Configure the web server to disable PHP execution within the upload directory using directives such as php_admin_flag engine off
  • Rename uploaded files to randomized identifiers without preserving the original extension
bash
# Example Apache configuration to disable PHP execution in uploads directory
<Directory "/var/www/file-management-system-php/uploads">
    php_admin_flag engine off
    AddType text/plain .php .phtml .phar .php3 .php4 .php5 .php7
    Options -ExecCGI
    RemoveHandler .php .phtml .phar
</Directory>

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.