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

CVE-2026-26746: Open Source Point Of Sale RCE Vulnerability

CVE-2026-26746 is a remote code execution flaw in OpenSourcePOS 3.4.1 that exploits LFI in Sales.php. Attackers can chain file inclusion with upload features to execute code. This article covers technical details and mitigations.

Published: February 27, 2026

CVE-2026-26746 Overview

CVE-2026-26746 is a Local File Inclusion (LFI) vulnerability affecting OpenSourcePOS version 3.4.1. The vulnerability exists within the Sales.php::getInvoice() function, where improper input validation allows an attacker to manipulate the Invoice Type configuration parameter to read arbitrary files from the web server. This vulnerability is particularly dangerous as it can be chained with the application's file upload functionality to achieve Remote Code Execution (RCE), significantly escalating the potential impact.

Critical Impact

Attackers with low privileges can exploit this vulnerability to read sensitive server files and potentially achieve full remote code execution by chaining with file upload functionality.

Affected Products

  • OpenSourcePOS Open Source Point of Sale version 3.4.1

Discovery Timeline

  • 2026-02-20 - CVE-2026-26746 published to NVD
  • 2026-02-24 - Last updated in NVD database

Technical Details for CVE-2026-26746

Vulnerability Analysis

The vulnerability resides in the invoice generation functionality of OpenSourcePOS, specifically within the Sales.php controller's getInvoice() function. This function processes user-controlled input for the Invoice Type parameter without proper sanitization or path validation. When an authenticated user with low privileges submits a request to generate an invoice, they can manipulate the Invoice Type value to include path traversal sequences or absolute file paths.

The CWE-434 (Unrestricted Upload of File with Dangerous Type) classification indicates that the vulnerability chain involves improper file handling mechanisms. The LFI vulnerability alone allows attackers to read sensitive configuration files, application source code, and system files such as /etc/passwd. However, the true severity emerges when this vulnerability is combined with the file upload feature, enabling attackers to upload a malicious PHP file and then include it via the LFI to achieve code execution.

The attack requires network access and low-level authentication (such as a regular user account), but no user interaction is needed once the attacker has valid credentials. The scope of compromise extends to full system confidentiality, integrity, and availability loss.

Root Cause

The root cause of this vulnerability is insufficient input validation and path normalization in the getInvoice() function within Sales.php. The function accepts the Invoice Type configuration value and uses it directly in a file inclusion operation without verifying that the path resolves to an expected directory or file type. This allows directory traversal sequences (such as ../) to break out of the intended directory and access arbitrary files on the filesystem that the web server process has permissions to read.

Attack Vector

The attack vector is network-based, requiring an authenticated attacker to have access to the OpenSourcePOS web interface. The exploitation process involves sending a crafted HTTP request to the invoice generation endpoint with a manipulated Invoice Type parameter containing path traversal sequences. For the full RCE chain, an attacker would first upload a malicious PHP file through the application's file upload functionality, then use the LFI vulnerability to include and execute that file.

The attack flow involves:

  1. Authenticating to the OpenSourcePOS application with a low-privileged account
  2. Uploading a malicious PHP file through the file upload feature
  3. Crafting a request to the getInvoice() endpoint with a manipulated Invoice Type parameter pointing to the uploaded malicious file
  4. The server includes and executes the malicious PHP code, granting the attacker remote code execution

For detailed technical information, refer to the GitHub CVE-2026-26746 Documentation.

Detection Methods for CVE-2026-26746

Indicators of Compromise

  • HTTP requests to invoice generation endpoints containing path traversal sequences such as ../ or ..%2f
  • Unusual file access patterns in web server logs, particularly requests attempting to access files outside the application directory
  • Evidence of suspicious file uploads with PHP or executable extensions
  • Web server error logs showing attempts to include non-existent or restricted files

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block path traversal patterns in request parameters
  • Monitor web server access logs for requests containing directory traversal sequences targeting the invoice or sales-related endpoints
  • Deploy file integrity monitoring on the OpenSourcePOS upload directories to detect unauthorized file additions
  • Configure intrusion detection systems to alert on requests with encoded traversal sequences (%2e%2e%2f, %252e, etc.)

Monitoring Recommendations

  • Enable verbose logging on the OpenSourcePOS application to capture all file access operations
  • Set up real-time alerting for any attempts to access system files like /etc/passwd or application configuration files
  • Monitor for unusual process spawning from the web server process that could indicate successful code execution
  • Regularly audit file upload directories for unexpected or suspicious files

How to Mitigate CVE-2026-26746

Immediate Actions Required

  • Restrict access to the OpenSourcePOS application to trusted networks and users only until a patch is applied
  • Review and remove any suspicious files from upload directories
  • Implement input validation at the web server or WAF level to block path traversal attempts
  • Audit user accounts and remove unnecessary access privileges
  • Consider temporarily disabling the file upload functionality if not critical to operations

Patch Information

As of the last update on 2026-02-24, organizations should monitor the OpenSourcePOS GitHub Repository for security patches addressing this vulnerability. Review the CVE-2026-26746 security documentation for the latest remediation guidance.

Workarounds

  • Implement strict input validation on the Invoice Type parameter to allow only alphanumeric characters and reject any path-related characters
  • Configure web server restrictions to prevent the web process from reading files outside the application directory
  • Use a web application firewall to filter requests containing path traversal patterns
  • Restrict file upload functionality to specific file types and implement content-type verification
bash
# Example Apache configuration to restrict file access
<Directory "/var/www/opensourcepos">
    # Deny access to sensitive files
    <FilesMatch "\.(php|ini|conf|log)$">
        Require all denied
    </FilesMatch>
    
    # Block path traversal attempts at the server level
    RewriteEngine On
    RewriteCond %{QUERY_STRING} (\.\./) [NC,OR]
    RewriteCond %{QUERY_STRING} (%2e%2e%2f) [NC]
    RewriteRule .* - [F,L]
</Directory>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpensourcepos

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Technical References
  • GitHub OpenSourcePOS Repository
  • Vendor Resources
  • GitHub CVE-2026-26746 Documentation
  • Related CVEs
  • CVE-2025-70093: Open Source Point Of Sale RCE Vulnerability

  • CVE-2026-33730: Open Source Point Of Sale Auth Bypass

  • CVE-2026-26745: OpenSourcePOS SQL Injection Vulnerability

  • CVE-2025-70091: Open Source Point Of Sale XSS 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