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
    • 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-22265

CVE-2026-22265: Roxy-WI Command Injection Vulnerability

CVE-2026-22265 is a command injection flaw in Roxy-WI's log viewing functionality that allows authenticated users to execute arbitrary system commands. This article covers the technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2026-22265 Overview

CVE-2026-22265 is a command injection vulnerability in Roxy-WI, a web interface for managing Haproxy, Nginx, Apache, and Keepalived servers. Prior to version 8.2.8.2, a command injection vulnerability exists in the log viewing functionality that allows authenticated users to execute arbitrary system commands. The vulnerability is located in app/modules/roxywi/logs.py at line 87, where the grep parameter is used twice—once sanitized and once raw—enabling attackers to bypass input validation and execute malicious commands on the underlying system.

Critical Impact

Authenticated attackers can execute arbitrary system commands on servers running vulnerable Roxy-WI installations, potentially leading to full server compromise, data exfiltration, or lateral movement within managed infrastructure.

Affected Products

  • Roxy-WI versions prior to 8.2.8.2
  • Web interfaces managing Haproxy, Nginx, Apache, and Keepalived servers
  • Systems exposing the Roxy-WI log viewing functionality to authenticated users

Discovery Timeline

  • 2026-01-15 - CVE CVE-2026-22265 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2026-22265

Vulnerability Analysis

This command injection vulnerability (CWE-78) stems from inconsistent input sanitization in the log viewing functionality. The vulnerable code path processes user-supplied input through the grep parameter, which is used in two different contexts within the same function—one instance properly sanitized and one used in its raw form. This dual-use pattern creates a dangerous gap where attackers can craft payloads that pass initial validation but are executed without sanitization in the second usage context.

The vulnerability requires authentication, meaning attackers must have valid credentials to access the Roxy-WI interface. However, once authenticated, even low-privileged users can exploit this flaw to execute commands with the privileges of the web application process, which typically has elevated access to manage server configurations.

Root Cause

The root cause is improper input validation where the grep parameter in app/modules/roxywi/logs.py at line 87 is sanitized inconsistently. The original input sanitization pattern failed to account for several dangerous characters that could be used for command injection, including newline characters (\n, \r) and redirection operators (<, >). The fix expanded the character blocklist to prevent these injection vectors.

Attack Vector

The attack vector is network-based, requiring authenticated access to the Roxy-WI web interface. An attacker with valid credentials can submit a malicious grep parameter containing command injection payloads through the log viewing functionality. The payload bypasses sanitization on its second use within the code, allowing arbitrary command execution on the host system.

python
# Security patch showing the input sanitization fix
# Source: https://github.com/roxy-wi/roxy-wi/commit/f040d3338c4ba6f66127487361592e32e0188eee

 	:return: The modified `ajax_input` string, or an empty string if the input was empty or contained non-permitted characters.
 	"""
 	if not ajax_input: return ''
-	pattern = re.compile('[&;|$`]')
+	pattern = re.compile('[&;|$`\n\r<>]')
 	if pattern.search(ajax_input):
 		raise ValueError('Error: Non-permitted characters detected')
 	else:

The patch expands the regex pattern to include newline characters (\n, \r) and redirection operators (<, >) that were previously permitted and could be abused for command injection.

Detection Methods for CVE-2026-22265

Indicators of Compromise

  • Unusual command execution patterns originating from the Roxy-WI web application process
  • Log entries containing shell metacharacters or encoded injection payloads in grep parameters
  • Unexpected outbound network connections from servers hosting Roxy-WI
  • Process spawning anomalies where the web server process creates unexpected child processes

Detection Strategies

  • Monitor web application logs for requests to log viewing endpoints containing suspicious characters such as newlines, backticks, or shell operators
  • Implement anomaly detection for command execution patterns from the Roxy-WI application context
  • Deploy web application firewalls (WAF) with rules to detect command injection attempts in query parameters
  • Enable process monitoring to alert on unexpected process trees spawned by the web server

Monitoring Recommendations

  • Configure SIEM rules to correlate authentication events with subsequent command injection indicators
  • Establish baseline behavior for the Roxy-WI application and alert on deviations
  • Monitor file system changes in sensitive directories that could indicate post-exploitation activity
  • Review access logs for repeated attempts to access log viewing functionality with varying payloads

How to Mitigate CVE-2026-22265

Immediate Actions Required

  • Upgrade Roxy-WI to version 8.2.8.2 or later immediately
  • Review authentication logs for suspicious activity from accounts that accessed the log viewing functionality
  • Audit user accounts with access to the Roxy-WI interface and remove unnecessary privileges
  • Implement network segmentation to limit exposure of the Roxy-WI management interface

Patch Information

The vulnerability is fixed in Roxy-WI version 8.2.8.2. The security patch (commit f040d3338c4ba6f66127487361592e32e0188eee) improves input sanitization by expanding the character blocklist to include newline characters and redirection operators. Organizations should upgrade to the patched version available at the GitHub Release v8.2.8.2. For additional details, refer to the GitHub Security Advisory GHSA-mmmf-vh7m-rm47.

Workarounds

  • Restrict access to the Roxy-WI interface to trusted networks only using firewall rules or VPN requirements
  • Implement additional WAF rules to filter requests containing command injection patterns
  • Disable or restrict access to the log viewing functionality until patching is completed
  • Enable enhanced logging and monitoring on systems running Roxy-WI to detect exploitation attempts
bash
# Example: Restrict Roxy-WI access to trusted networks using iptables
iptables -A INPUT -p tcp --dport 443 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRoxy Wi

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Commit Details

  • GitHub Release v8.2.8.2

  • GitHub Security Advisory GHSA-mmmf-vh7m-rm47
  • Related CVEs
  • CVE-2026-27811: Roxy-wi Command Injection RCE Vulnerability
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