Skip to main content
VulnerabilityPublished

CVE-2026-6187: SourceCodester Pharmacy Sales and Inventory System · SQL Injection

Affects SourceCodester Pharmacy Sales and Inventory SystemSource CVE Database V5

0
Compare

Public exploit available · CVSS 6.9 Medium.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
SourceCodesterPharmacy Sales and Inventory SystemAffected
  • =1.0
Fixed in–

AI-suggested

Until an official fix is available, users should consider implementing input validation and sanitization on the 'ID' parameter at the application or database level to mitigate SQL injection risks. Monitoring and restricting access to the vulnerable endpoint may also reduce exposure.

Description

CVE-2026-6187 is a medium severity SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1.0. It arises from improper handling of the 'ID' parameter in the /ajax.php? action=chk_prod_availability endpoint, allowing remote attackers to inject SQL commands. The vulnerability is publicly known, but no official patch or remediation guidance has been provided by the vendor as of the publication date.

References

Community reviews

Loading reviews…