Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege POS credentials
-
DeliveryAuthenticate to web interface
-
ExploitSend crafted GET request with traversal payload
-
ExecutionRetrieve arbitrary readable files
-
ImpactExfiltrate sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires valid authenticated access to the Open Source Point of Sale web application with at least low-privilege user credentials (PR:L in CVSS vector). Any user role with access to the items management interface can reach the getPicThumb endpoint. Exploitation depends on deployment configuration: the web server process must have file system read permissions to paths outside the intended uploads directory, which is typical in default PHP-FPM or Apache mod_php installations running as www-data or apache user. Attack is limited to reading files accessible to the web application's system user - cannot escalate to root-owned files unless insecure permissions exist. No special product features need enablement; the vulnerable function is part of core item/product management present in all deployments. Does not require administrative privileges, non-default configuration, or user interaction (UI:N). Network-accessible attack vector (AV:N) means any authenticated user on the network can exploit, including remote attackers if the POS system is internet-facing. Exploitation is NOT limited by specific platform or PHP version within the affected 3.4.0-3.4.2 range. |
| Impact | Real-world risk is moderate but contained. CVSS 5.3 (Medium) accurately reflects the limited scope: authenticated attackers can read files but not execute code or modify data (VI:N/VA:N). The PR:L requirement means attackers need valid low-privilege POS user credentials, significantly reducing attack surface compared to unauthenticated vulnerabilities. EPSS data not provided, but typical path traversal vulnerabilities in niche applications show low exploitation probability without widespread scanning. No CISA KEV listing indicates no confirmed active exploitation in production environments. The availability of detailed patch code (GitHub PR #4545 with full diff) increases risk slightly by providing a roadmap for exploitation, though no weaponized POC is referenced. Primary risk scenario: compromised employee accounts or insider threats accessing customer photos, financial documents, or configuration files stored on the same server. For internet-facing POS systems, this becomes more serious if authentication is weak. Risk is substantially lower for air-gapped or LAN-only deployments common in retail environments. The vendor's proactive security advisory and rapid patch response (GitHub Security Advisory GHSA-xq63-3v4g-39r5) demonstrates mature vulnerability management, suggesting timely patches will reach production systems. |
| Exploit ScenarioDerived | An authenticated attacker with low-privilege POS user credentials (cashier, inventory clerk) crafts a malicious HTTP request to the thumbnail generation endpoint: GET /items/getPicThumb/..%2F..%2F..%2Fetc%2Fpasswd. The vulnerable getPicThumb() function decodes the parameter and attempts to open the traversed path, returning the /etc/passwd file contents as if it were a product image. Attacker iterates through common sensitive file paths (database config files, application secrets, uploaded customer documents) to exfiltrate confidential information. With knowledge of the application directory structure, attacker could access database.php configuration files containing credentials or customer data CSVs stored on the server. No public POC exists but exploitation is straightforward given the documented code diff showing exact vulnerable parameter handling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 18, 2026
Path traversal in opensourcepos Open Source Point of Sale versions 3.4.0 through 3.4.2 allows authenticated remote attackers to read arbitrary image files outside the intended directory via manipulated pic_filename parameters in the getPicThumb controller function. The vulnerability has CVSS 5.3 (Medium) with low attack complexity requiring only low-privilege authentication. Vendor-released patch available via GitHub commit def0c27a0e252668df8d942fc31e16d1edfd7323. No public exploit or active exploitation confirmed at time of analysis, though the fix is publicly documented with code diff showing the vulnerable parameter handling.
RemediationAI
Apply vendor-released patch by upgrading to opensourcepos version 3.4.3 or later, which incorporates commit def0c27a0e252668df8d942fc31e16d1edfd7323 from GitHub PR #4545 (https://github.com/opensourcepos/opensourcepos/pull/4545). The fix implements basename() sanitization to strip directory traversal sequences and adds file extension validation against configured image types. For systems unable to upgrade immediately, implement compensating controls: restrict file system permissions on the web application directory to prevent reading sensitive files outside uploads (specifically deny read access to /etc/, /var/, application config directories); enforce strict authentication policies and review user privilege levels to minimize PR:L access; deploy web application firewall rules to detect and block URL-encoded path traversal patterns (%2e%2e%2f, ../, etc.) in pic_filename parameters sent to /items/getPicThumb endpoint. Note that WAF rules may cause false positives if legitimate filenames contain periods or encoded characters. Monitor application logs for HTTP 400 responses from getPicThumb after patching, as the new validation rejects invalid file types. Advisory references: https://github.com/opensourcepos/opensourcepos/security/advisories/GHSA-xq63-3v4g-39r5 and commit details at https://github.com/opensourcepos/opensourcepos/commit/def0c27a0e252668df8d942fc31e16d1edfd7323.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exists in the Items.php controller's getPicThumb() function, which generates thumbnail images for point-of-sale product records. The affected code uses rawurldecode() on user-supplied pic_filename parameters without sanitization, allowing directory traversal sequences like '../' to escape the intended uploads directory. This is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) implementation flaw in PHP file handling. The affected product opensourcepos/opensourcepos is a web-based PHP retail management system built on CodeIgniter 4 framework. The function returns image file contents via HTTP response, making it a confidentiality exposure vector rather than arbitrary file execution. The CVSS 4.0 vector confirms network-accessible attack surface (AV:N) with low complexity (AC:L) but requires authenticated access (PR:L), limiting impact to low confidentiality breach (VC:L) with no integrity or availability impact.
Know when Opensourcepos gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was detected in opensourcepos Open Source Point of Sale up to 3.4.2. This issue affects the function getPicThumb of the file app/Controllers/Items.php. The manipulation of the argument pic_filename results in path traversal. The attack may be launched remotely. The patch is identified as def0c27a0e252668df8d942fc31e16d1edfd7323. A patch should be applied to remediate this issue. The vendor was contacted early about this disclosure.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Opensourcepos
View allOpen Source Point Of Sale versions up to 3.4.1 is affected by unrestricted upload of file with dangerous type (CVSS 8.8)
The password change endpoint in Open Source Point of Sale 3.4.1 allows users to set their account password to an empty s
An issue in OpenSourcePOS v3.4.1 allows attackers to execute arbitrary code via returning a crafted AJAX response. [CVSS
Open Source Point of Sale v3.3.7 was discovered to contain an arbitrary file upload vulnerability via the Update Brandin
A cross-site scripting (XSS) vulnerability in the item management and sales invoice function of OpenSourcePOS v3.4.1 all
A cross-site scripting (XSS) vulnerability in the Customers function of OpenSourcePOS v3.4.1 allows attackers to execute
A cross-site scripting (XSS) vulnerability in the Generate Item Barcode function of OpenSourcePOS v3.4.1 allows attacker
A cross-site scripting (XSS) vulnerability in the Item Kits function of OpenSourcePOS v3.4.1 allows attackers to execute
OpenSourcePOS 3.4.1 allows authenticated attackers to execute arbitrary SQL commands through unsanitized concatenation o
Open Source Point of Sale (opensourcepos) contains a critical SQL Injection vulnerability in the Items search functional
OpenSourcePOS versions prior to 3.4.2 contain an Insecure Direct Object Reference (IDOR) vulnerability allowing authenti
Weak password hashing in opensourcepos Open Source Point of Sale through version 3.4.2 exposes a legacy code path in the
EUVD-2026-30761
GHSA-pmmv-883q-cfwq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB