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

CVE-2026-54454: OpenCATS Applicant Tracking System RCE

CVE-2026-54454 is a remote code execution vulnerability in OpenCATS applicant tracking system allowing authenticated users to upload malicious PHP files. This article covers technical details, affected versions, and mitigation.

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

CVE-2026-54454 is an unrestricted file upload vulnerability [CWE-434] in OpenCATS, an open-source applicant tracking system and recruitment CRM. The flaw resides in the Import module at modules/import/ImportUI.php. For one import data type, the module preserves the uploaded file's original name and stores the file in a web-accessible temporary directory. An authenticated user with Import privileges can upload a PHP file that remains under an attacker-controlled filename, and an import error can leave that file on disk. If the temporary directory executes PHP, requesting the staged file runs arbitrary code as the web server user. The issue is fixed in version 0.10.0.

Critical Impact

Authenticated attackers with Import privileges can achieve remote code execution on the OpenCATS host, leading to full compromise of recruiting data and the underlying server.

Affected Products

  • OpenCATS versions prior to 0.10.0
  • OpenCATS Import module (modules/import/ImportUI.php)
  • Deployments where the temporary upload directory has PHP execution enabled

Discovery Timeline

  • 2026-10-13 - CVE CVE-2026-54454 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-54454

Vulnerability Analysis

The OpenCATS Import workflow accepts user-supplied files and stages them in a temporary directory before processing. For one import data type, the module retains the uploaded file's original filename rather than generating a safe server-controlled identifier. An authenticated user holding Import privileges can upload a file named shell.php and have it written to disk under that exact name.

Under normal operation the import logic consumes and removes staged files, but a failed import can leave artifacts behind. Because the staging directory sits inside the web root, an attacker can issue a direct HTTP request to the staged PHP file. If the web server is configured to execute PHP in that directory, the code runs with the web server process privileges. The attacker gains access to applicant data, database credentials, and the host operating system.

Root Cause

The root cause is missing validation of staged import file identifiers. The pre-patch code trusted the client-supplied filename and did not confirm that the referenced file belonged to a legitimate, server-tracked import session. There was no allowlist of safe extensions and no server-generated identifier binding uploads to a specific user session.

Attack Vector

Exploitation requires an authenticated session with Import privileges. The attacker selects the vulnerable import data type, uploads a PHP payload with an executable extension, triggers an import error so the file persists, then requests the staged file over HTTP to execute the payload.

php
         $this->_subTabs = array();
     }
 
+    private function isValidImportFileID($fileID)
+    {
+        return $fileID != '' &&
+            $fileID === basename($fileID) &&
+            isset($_SESSION['CATS']->validImportFileIDs) &&
+            is_array($_SESSION['CATS']->validImportFileIDs) &&
+            in_array($fileID, $_SESSION['CATS']->validImportFileIDs, true);
+    }
+
 
     public function handleRequest()
     {

Source: GitHub commit 7f15174. The patch introduces isValidImportFileID(), which rejects traversal sequences via basename() comparison and requires that each file ID be present in a session-bound allowlist ($_SESSION['CATS']->validImportFileIDs).

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-54454

Indicators of Compromise

  • Files with executable extensions such as .php, .phtml, or .phar present in the OpenCATS import temporary directory.
  • Web server access logs showing direct GET or POST requests to files inside the import staging path.
  • Unexpected child processes spawned by the web server user originating from the OpenCATS install directory.
  • New or modified administrative accounts in the OpenCATS user table following Import module activity.

Detection Strategies

  • Audit the OpenCATS temporary upload directory for any file whose extension is not an expected import format (CSV, TSV).
  • Correlate authenticated Import module requests with subsequent direct HTTP fetches of files under the staging path.
  • Monitor for process execution chains where the PHP-FPM or Apache worker spawns shells, package managers, or network utilities.

Monitoring Recommendations

  • Enable verbose logging on the OpenCATS Import module and forward web server access logs to a centralized SIEM.
  • Alert on HTTP responses with the application/x-httpd-php content type served from upload directories.
  • Track filesystem write events in the OpenCATS temp directory and flag non-whitelisted extensions in real time.

How to Mitigate CVE-2026-54454

Immediate Actions Required

  • Upgrade OpenCATS to version 0.10.0 or later, which includes the isValidImportFileID() validation.
  • Review all accounts holding Import privileges and revoke access for users who do not require it.
  • Inspect the import staging directory for leftover files and remove any non-CSV artifacts.
  • Rotate database credentials and application secrets if evidence of staged PHP files or anomalous requests is found.

Patch Information

The fix is included in OpenCATS Release v0.10.0. Technical details are documented in the GitHub Security Advisory GHSA-v9gx-5qhj-jf7c and the GitHub pull request discussion. The patch commit is 7f15174.

Workarounds

  • Disable PHP execution in the OpenCATS temporary upload directory via web server configuration until the upgrade is applied.
  • Restrict HTTP access to the import staging path at the reverse proxy or web server level.
  • Temporarily remove the Import privilege from all user roles until patching is complete.
bash
# Apache: deny PHP execution in the OpenCATS upload/temp directory
<Directory "/var/www/opencats/upload">
    php_flag engine off
    <FilesMatch "\.(php|phtml|phar|phps)$">
        Require all denied
    </FilesMatch>
</Directory>

# Nginx: block execution and direct access to staged files
location ^~ /opencats/upload/ {
    location ~ \.(php|phtml|phar|phps)$ {
        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

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.