The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27760

CVE-2026-27760: OpenCATS PHP Code Injection RCE Vulnerability

CVE-2026-27760 is a PHP code injection RCE flaw in OpenCATS installer that lets unauthenticated attackers execute arbitrary code via the AJAX endpoint. This article covers technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-27760 Overview

CVE-2026-27760 is a critical PHP code injection vulnerability affecting OpenCATS prior to commit 3002a29. The vulnerability exists in the installer AJAX endpoint and allows unauthenticated attackers to execute arbitrary code by injecting PHP statements into the databaseConnectivity action parameter. Attackers can break out of the define() string context in config.php using a single quote and statement separator to inject malicious PHP code that persists and executes on every subsequent page load when the installation wizard remains incomplete.

Critical Impact

Unauthenticated remote code execution allowing complete server compromise through persistent PHP code injection that executes on every page load.

Affected Products

  • OpenCATS versions prior to commit 3002a29
  • OpenCATS installations with incomplete installation wizard
  • OpenCATS instances where INSTALL_BLOCK file does not exist

Discovery Timeline

  • 2026-04-28 - CVE-2026-27760 published to NVD
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2026-27760

Vulnerability Analysis

This vulnerability represents a classic PHP code injection attack (CWE-94) targeting the OpenCATS applicant tracking system. The root issue stems from insufficient input sanitization in the installer's AJAX endpoint, specifically within the databaseConnectivity action handler. When processing database configuration parameters, the application directly concatenates user-supplied input into PHP define() statements written to config.php without proper escaping.

The attack surface is particularly dangerous because it targets the installation wizard, which by design accepts unauthenticated requests. Once malicious PHP code is injected into the configuration file, it achieves persistence and executes on every subsequent page load, providing attackers with a reliable foothold for further exploitation.

Root Cause

The vulnerability originates in the modules/install/ajax/ui.php file where database configuration parameters are processed. The original code used simple string concatenation to build PHP configuration values:

php
CATSUtility::changeConfigSetting('DATABASE_USER', "'" . $_REQUEST['user'] . "'");

This approach fails to sanitize input containing single quotes, allowing attackers to escape the string context and inject arbitrary PHP statements. The CATSUtility::changeConfigSetting() function in lib/CATSUtility.php then writes these unsanitized values directly to config.php.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending crafted HTTP requests to the installer AJAX endpoint with malicious payloads in the database configuration parameters (user, pass, host, or name). By including a single quote followed by a semicolon and PHP code, the attacker can break out of the define() statement and inject code that will be written to config.php and executed persistently.

The security patch addresses this vulnerability in two ways. First, it restricts AJAX requests during installation to only allow installer-specific actions in ajax.php:

php
$installerActive = (!file_exists('INSTALL_BLOCK'));
if ($installerActive)
{
    $module = '';
    if (strpos($_REQUEST['f'], ':') !== false)
    {
        $parameters = explode(':', $_REQUEST['f']);
        $module = preg_replace("/[^A-Za-z0-9]/", "", $parameters[0]);
    }

    if ($module !== 'install')
    {
        header('Content-type: text/xml');
        echo '<?xml version="1.0" encoding="', AJAX_ENCODING, '"?>', "\n";
        echo(
            "<data>\n" .
            "    <errorcode>-1</errorcode>\n" .
            "    <errormessage>Installer is active. Only installer AJAX actions are allowed.</errormessage>\n" .
            "</data>\n"
        );

        die();
    }
}

Source: GitHub Commit Update

Second, the patch replaces unsafe string concatenation with var_export() for proper escaping in modules/install/ajax/ui.php:

php
if (isset($_REQUEST['user']) && !empty($_REQUEST['user']))
{
    CATSUtility::changeConfigSetting('DATABASE_USER', var_export($_REQUEST['user'], true));
}

if (isset($_REQUEST['pass']) && $_REQUEST['pass'] !== '')
{
    CATSUtility::changeConfigSetting('DATABASE_PASS', var_export($_REQUEST['pass'], true));
}

if (isset($_REQUEST['host']) && !empty($_REQUEST['host']))
{
    CATSUtility::changeConfigSetting('DATABASE_HOST', var_export($_REQUEST['host'], true));
}

if (isset($_REQUEST['name']) && !empty($_REQUEST['name']))
{
    CATSUtility::changeConfigSetting('DATABASE_NAME', var_export($_REQUEST['name'], true));
}

Source: GitHub Commit Update

Detection Methods for CVE-2026-27760

Indicators of Compromise

  • Unexpected modifications to config.php containing PHP code beyond standard define() statements
  • Web server logs showing repeated POST requests to /modules/install/ajax/ui.php with unusual parameter values
  • Presence of PHP web shells or backdoor code in configuration files
  • Execution of unexpected PHP code on page loads, observable through process monitoring

Detection Strategies

  • Monitor file integrity of config.php and alert on unauthorized modifications
  • Implement web application firewall (WAF) rules to detect single quote injection attempts in installer endpoints
  • Audit HTTP request logs for access to installer AJAX endpoints from unexpected sources
  • Deploy endpoint detection to identify unauthorized PHP process execution

Monitoring Recommendations

  • Enable file integrity monitoring on all OpenCATS configuration files
  • Configure alerts for access attempts to installation endpoints on production systems
  • Monitor for outbound network connections initiated by the web server process
  • Review PHP error logs for syntax errors that may indicate injection attempts

How to Mitigate CVE-2026-27760

Immediate Actions Required

  • Update OpenCATS to commit 3002a29 or later immediately
  • Create an INSTALL_BLOCK file in the OpenCATS root directory to disable the installer
  • Review config.php for any injected malicious code and restore from a known-good backup if compromised
  • Restrict network access to the OpenCATS installation endpoints using firewall rules

Patch Information

The vulnerability has been addressed in OpenCATS commit 3002a29f4c3cada1aa2c4f3d4ae4e189906606b6. The fix implements two key security improvements: restricting AJAX functionality during installation mode to only allow installer-specific actions, and replacing unsafe string concatenation with var_export() to properly escape user input before writing to configuration files. Organizations should update to this commit or any subsequent release that includes this patch. For detailed information, see the GitHub Pull Request Discussion and the VulnCheck Advisory on OpenCATS.

Workarounds

  • Create an empty INSTALL_BLOCK file in the OpenCATS root directory to disable installer functionality
  • Configure web server rules to deny access to /modules/install/ directory from external networks
  • Implement network segmentation to restrict access to OpenCATS administrative endpoints
  • Use a web application firewall to block requests containing PHP code patterns in installer parameters
bash
# Configuration example
# Create INSTALL_BLOCK file to disable installer
touch /var/www/opencats/INSTALL_BLOCK
chmod 644 /var/www/opencats/INSTALL_BLOCK

# Block access to installer via Apache .htaccess
echo '<Directory "/var/www/opencats/modules/install">
    Require all denied
</Directory>' >> /etc/apache2/sites-available/opencats.conf

# Or via Nginx
# location /modules/install {
#     deny all;
#     return 403;
# }

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpencats

  • SeverityCRITICAL

  • CVSS Score9.2

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • Chocapikk RCE Post

  • GitHub CATSUtility Code Review

  • GitHub Ajax UI Code Review

  • GitHub Commit Update

  • GitHub Pull Request Discussion

  • VulnCheck Advisory on OpenCATS
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English