SQL Injection Vulnerability in SourceCodester Pharmacy Sales and Inventory System
CVE-2026-7087

6.9MEDIUM

Key Information:

Vendor
CVE Published:
27 April 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-7087?

A critical SQL injection flaw has been identified in the SourceCodester Pharmacy Sales and Inventory System version 1.0, specifically within the /ajax.php?action=save_sales function. This vulnerability allows attackers to manipulate the argument ID to execute arbitrary SQL queries on the database. Given that the exploit can be executed remotely, it poses potential risks for unauthorized access to sensitive data. The vulnerability is public, highlighting the urgent need for users to patch their systems to prevent exploitation.

Affected Version(s)

Pharmacy Sales and Inventory System 1.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

baiqiuran (VulDB User)
.