CVE-2026-8802: opensourcepos Open Source Point of Sale path traversal in getPicThumb

CVE-2026-8802 · Severity: medium · CVSS 4.3 · Published 2026-05-18

Open Source Point of Sale (OSPOS) is a web-based inventory and sales management system. A security flaw in the way the system handles item thumbnail requests allows logged-in users to access sensitive files on the server that they should not be able to see. This could lead to the exposure of configuration files, encryption keys, or other internal system data, potentially compromising the entire installation.

Technologies: Opensourcepos Open Source Point of Sale. Vendors: Opensourcepos.

Quick answers

Is CVE-2026-8802 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-8802 being exploited in the wild.
How severe is CVE-2026-8802?
Medium severity, with a CVSS score of 4.3, published 18 May 2026.
Which products and versions are affected?
Opensourcepos Open Source Point of Sale <= 3.4.2.
Is there a fix for CVE-2026-8802?
A patch was published on 2026-05-13: Fix merged into master branch Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-8802 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-8802?
Check whether you run Opensourcepos Open Source Point of Sale at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A path traversal vulnerability exists in the `getPicThumb` function within `app/Controllers/Items.php` of Open Source Point of Sale (OSPOS) through version 3.4.2. The application fails to sanitize the `pic_filename` parameter, allowing an authenticated attacker with access to the items module to use directory traversal sequences (e.g., `../../`) to escape the intended uploads directory. By sending a specially crafted request, an attacker can read sensitive files such as `.env` or configuration files. The issue has been addressed in commit `def0c27a0e252668df8d942fc31e16d1edfd7323` by implementing `basename()` sanitization and an extension allowlist.

Affected products

  • opensourcepos Open Source Point of Sale (opensourcepos) <= 3.4.2

Timeline

  • 2026-05-13: patched: Fix merged into master branch
  • 2026-05-18: disclosed: Vulnerability published via VulDB/NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.