Quick answers
- Is CVE-2026-10255 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-10255 being exploited in the wild.
- How severe is CVE-2026-10255?
- Medium severity, with a CVSS score of 5.3, published 1 June 2026.
- Which products and versions are affected?
- SourceCodester Pharmacy Sales and Inventory System 1.0.
- Is there a fix for CVE-2026-10255?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-10255 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-10255?
- Check whether you run SourceCodester Pharmacy Sales and Inventory System 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 broken access control vulnerability exists in SourceCodester Pharmacy Sales and Inventory System 1.0 within the 'sell_statement' and 'supplier_payment' functions of 'application/controllers/ShowForm.php'. The root cause is a logical error in the authentication check where an OR operator (||) is used instead of an AND operator (&&) when validating session data. This flaw causes the authorization condition to always evaluate to true, allowing unauthenticated remote attackers to bypass login requirements. Successful exploitation allows an attacker to access the 'sales_product' database table and view sensitive financial information, including invoice numbers, unit prices, and revenue totals.
Affected products
- SourceCodester Pharmacy Sales and Inventory System 1.0
Timeline
- 2026-05-09: disclosed: Vulnerability details and PoC shared on GitHub.
- 2026-06-01: advisory: CVE-2026-10255 published by VulDB/NVD.