Database disclosure via UNION-based SQL injection
Published Mar 2, 2026 · Updated Mar 2, 2026
SQL injection in SourceCodester Pharmacy Point of Sale System 1.0 allows remote attackers to read database data through the id parameter. The /pharmacy/view_product.php endpoint accepts a quoted UNION SELECT expression in id and returns the injected SQLite value in its response. NVD rates the flaw as requiring no privileges, but the published request contains a PHP session cookie after using default administrator credentials; the proof of concept demonstrates database disclosure rather than writes or service interruption.
Summary
What happened
SQL injection in SourceCodester Pharmacy Point of Sale System 1.0 allows remote attackers to read database data through the id parameter. The /pharmacy/view_product.php endpoint accepts a quoted UNION SELECT expression in id and returns the injected SQLite value in its response. NVD rates the flaw as requiring no privileges, but the published request contains a PHP session cookie after using default administrator credentials; the proof of concept demonstrates database disclosure rather than writes or service interruption.
The record
- CVE
- CVE-2026-26705
- Published
- Mar 2, 2026
- Updated
- Mar 2, 2026
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-89, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 2, 2026CVE publishedPublication date reported by the CVE source.
- Mar 2, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- SQL-2.md UNION-based SQL injection proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo