PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-6187 SourceCodester CVE debrief

A SQL injection vulnerability was detected in the SourceCodester Pharmacy Sales and Inventory System 1.0, specifically in the /ajax.php?action=chk_prod_availability file. The vulnerability is caused by the manipulation of the ID argument, which allows for remote SQL injection attacks. The exploit for this vulnerability is now public and may be used.

Vendor
SourceCodester
Product
Pharmacy Sales and Inventory System
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-13
Original CVE updated
2026-10-26
Advisory published
2026-04-13
Advisory updated
2026-10-26

Who should care

Defenders responsible for the SourceCodester Pharmacy Sales and Inventory System 1.0 should assess their exposure and prioritize patching or mitigation to prevent exploitation. This includes operators, platform administrators, vulnerability management teams, and security teams who need to verify the presence of vulnerable systems and versions, assess the risk of SQL injection attacks, and implement input validation and sanitization to prevent exploitation.

Why it matters

CVE-2026-6187 is a SQL injection vulnerability in the SourceCodester Pharmacy Sales and Inventory System 1.0. Defenders should verify the presence of this vulnerability in their systems, assess their exposure, and prioritize patching or mitigation to prevent exploitation.

  • Verify the presence of vulnerable systems and versions
  • Assess the risk of SQL injection attacks
  • Implement input validation and sanitization to prevent exploitation
  • Monitor system logs for potential exploitation attempts

Technical summary

The vulnerability is caused by the manipulation of the ID argument in the /ajax.php?action=chk_prod_availability file, which allows for remote SQL injection attacks. The exploit for this vulnerability is now public and may be used. Affected product deployments should be verified, and patches or mitigations should be applied to prevent exploitation. The vulnerability has a CVSS score of 5.5 and a severity of MEDIUM. Defenders should prioritize verifying the presence of this vulnerability in their systems and applying patches or mitigations to prevent exploitation.

Defensive priority

Defenders should prioritize verifying the presence of this vulnerability in their systems and applying patches or mitigations to prevent exploitation.

Recommended defensive actions

  • Verify the presence of the vulnerable file /ajax.php?action=chk_prod_availability in the system
  • Check for any available patches or updates for the SourceCodester Pharmacy Sales and Inventory System 1.0
  • Implement input validation and sanitization for the ID argument to prevent SQL injection attacks
  • Monitor system logs for potential exploitation attempts
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed

Evidence notes

The CVE record and NVD vulnerability detail page provide information on the vulnerability, including its CVSS score and severity. However, the exact scope of affected systems and versions is not specified.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-6187 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-6187

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-6187 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-6187

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.