CVE-2026-6188
Published: 13 April 2026
Summary
CVE-2026-6188 is a medium-severity Injection (CWE-74) vulnerability in Sourcecodester (inferred from references). Its CVSS base score is 6.9 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 13.5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 RA-5 (Vulnerability Monitoring and Scanning) and SI-10 (Information Input Validation).
Deeper analysis
CVE-2026-6188 is a SQL injection vulnerability (CWE-74, CWE-89) affecting SourceCodester Pharmacy Sales and Inventory System 1.0. The flaw resides in an unknown function within the file /ajax.php?action=delete_sales, where manipulation of the ID argument triggers the injection. Published on 2026-04-13, it carries a CVSS v3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L).
The vulnerability enables remote exploitation without authentication, user interaction, or high complexity. Attackers can send crafted requests to the affected endpoint, potentially reading limited data, modifying database contents, or disrupting service availability to a low degree.
Advisories on VulDB (including vuln/357110 and related CTI) and a GitHub issue (lingzezzz/lingze/issues/2) document the issue, noting that an exploit has been published and may be used. The SourceCodester website provides the affected software, but no patches or specific mitigations are mentioned in the references.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-22014
Vulnerability details
A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. Impacted is an unknown function of the file /ajax.php?action=delete_sales. This manipulation of the argument ID causes sql injection. It is possible to initiate the attack remotely. The…
more
exploit has been published and may be used.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection in public-facing web app (/ajax.php) directly enables unauthenticated remote exploitation of the application.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
SI-10 directly prevents SQL injection by requiring validation of untrusted inputs like the ID argument in /ajax.php?action=delete_sales.
SI-2 mandates timely identification, reporting, and correction of flaws like this SQL injection vulnerability in the Pharmacy Sales and Inventory System.
RA-5 requires vulnerability scanning to detect SQL injection flaws like CVE-2026-6188 and remediate them based on risk.