CVE-2026-26746 Details
Description
OpenSourcePOS 3.4.1 contains a Local File Inclusion (LFI) vulnerability in the Sales.php::getInvoice() function. An attacker can read arbitrary files on the web server by manipulating the Invoice Type configuration. This issue can be chained with the file upload functionality to achieve Remote Code Execution (RCE).
A Local File Inclusion (LFI) vulnerability has been identified in OpenSourcePOS version 3.4.1, specifically within the Sales module's getInvoice() function. This vulnerability allows authenticated attackers to read arbitrary files on the web server by manipulating the Invoice Type configuration. The issue arises because user-controlled input is not properly sanitized before being used to include files. Furthermore, this LFI vulnerability can be exploited in conjunction with the application's file upload feature to achieve Remote Code Execution (RCE). By uploading a malicious image containing PHP code, an attacker can execute arbitrary commands on the server.
It is recommended to implement input validation by restricting the Invoice Type configuration to a whitelist of predefined template names. Additionally, user-supplied input should be sanitized using functions like basename() to remove directory paths before processing. As a further security measure, disable PHP execution in the uploads directory through server configuration.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hungnqdz/CVE-2026-26746/blob/main/CVE-2026-26746.md | [email protected] | ExploitMitigationThird Party Advisory |
| https://github.com/opensourcepos/opensourcepos | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| opensourcepos open source point of sale | 3.4.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 24, 2026 | Initial Analysis | [email protected] |
| Feb 23, 2026 | CVE Modified | CISA-ADP |
| Feb 20, 2026 | New CVE Received | [email protected] |