Skip to main content

Pharmacy Sales and Inventory System EUVDEUVD-2026-25850

| CVE-2026-7126 MEDIUM
SQL Injection (CWE-89)
2026-04-27 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed /ajax.php endpoint
  2. Delivery
    Send crafted HTTP POST with SQL payload in ID parameter
  3. Exploit
    Exploit SQL injection to query database
  4. Execution
    Extract sensitive data or modify records
  5. Impact
    Escalate to OS command execution if DB permissions allow

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of Pharmacy Sales and Inventory System 1.0. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms network-accessible attack requiring no authentication, no complex setup, and no user interaction. Attackers only need the target application to be internet-accessible with /ajax.php endpoint active. The save_category action appears to be a standard administrative function that should require authentication but does not, based on the PR:N (no privileges required) rating. No specific PHP version, database backend, or deployment mode mentioned as prerequisites. Exploitation succeeds against any deployment exposing this endpoint without custom authentication overlays or WAF protection.

Impact

Real-world risk is HIGH for organizations running this specific application. CVSS vector AV:N/AC:L/PR:N/UI:N indicates trivial exploitation - remote attackers need no authentication, no special conditions, and no user interaction. The exploit maturity indicator (E:P) confirms publicly available proof-of-concept code on GitHub, lowering the skill barrier for exploitation. However, risk is tempered by the narrow scope: this affects only SourceCodester Pharmacy Sales and Inventory System 1.0, a niche open-source application with limited deployment compared to enterprise software. CVSS impact ratings (C:L/I:L/A:L) suggest attackers gain partial database access rather than full system compromise, though SQL injection can often be escalated to remote code execution on vulnerable database/OS configurations. No CISA KEV listing or EPSS data provided, suggesting exploitation has not yet reached widespread automated scanning, but the public POC makes targeted attacks highly feasible. Organizations running this software should treat as critical priority due to unauthenticated remote attack vector and available exploit code.

Exploit ScenarioDerived

An external attacker discovers an internet-exposed installation of Pharmacy Sales and Inventory System 1.0 through Shodan or Google dorking. Without authentication, they send crafted HTTP requests to /ajax.php?action=save_category with SQL payloads in the ID parameter (e.g., ID=1' UNION SELECT user(),database(),version()--) to enumerate database structure, extract credentials, modify inventory records, or delete critical data. Using the publicly available GitHub POC, attackers automate extraction of patient data, pharmaceutical inventory, or financial records stored in the backend database. Advanced exploitation could leverage SQL injection to write web shells via INTO OUTFILE or execute operating system commands if database permissions and configuration allow (e.g., xp_cmdshell on MSSQL or sys_exec on MySQL with appropriate privileges).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 27, 2026

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execute arbitrary SQL commands via the ID parameter in /ajax.php?action=save_category. Public exploit code exists on GitHub (y1shiny1shin/vuldb-project), enabling immediate weaponization against unpatched systems. CVSS 7.3 reflects potential for confidentiality, integrity, and availability compromise through database manipulation. No remediation release identified at time of analysis.

RemediationAI

No vendor-released patch identified at time of analysis. Organizations running SourceCodester Pharmacy Sales and Inventory System 1.0 should implement compensating controls immediately. Primary mitigation: apply input validation and parameterized queries to /ajax.php save_category handler, specifically sanitizing the ID parameter using prepared statements (e.g., PDO with bound parameters in PHP). If source modification is not feasible, deploy web application firewall rules to block SQL metacharacters in ID parameter (', --, ;, UNION, SELECT keywords), though this provides incomplete protection against advanced injection techniques and may break legitimate functionality requiring special characters. Alternative: restrict access to /ajax.php to authenticated admin sessions only via web server configuration, converting this from unauthenticated remote to authenticated remote attack (still vulnerable but reduces attack surface). Consider replacing this application with actively maintained pharmacy management software with established security track record, as the lack of vendor security response suggests no future patches. VulDB references available at vuldb.com/vuln/359725 and exploit details at github.com/y1shiny1shin/vuldb-project/issues/2.

Affected VersionsENISA

Pharmacy Sales and Inventory System 1.0

Affected Packages

euvd pharmacy_sales_and_inventory_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a classic SQL injection vulnerability (CWE-89) in a PHP-based web application. The affected component is /ajax.php with action=save_category, likely handling category management operations in the pharmacy inventory system. The ID parameter accepts user-supplied input without proper sanitization or parameterized queries, allowing injection of malicious SQL commands. The vulnerability exists in SourceCodester Pharmacy Sales and Inventory System version 1.0 (CPE 2.3:a:sourcecodester:pharmacy_sales_and_inventory_system:*). SQL injection occurs when untrusted data is concatenated directly into SQL queries rather than using prepared statements or input validation, enabling attackers to break out of the intended query structure and execute arbitrary database operations.

Know when Pharmacy Sales And Inventory System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 27, 2026 - 14:22 NVD
HIGH MEDIUM
CVSS changed
Apr 27, 2026 - 14:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
CVE Published
Apr 27, 2026 - 13:00 nvd
MEDIUM 5.5

DescriptionCVE.org

A security flaw has been discovered in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects an unknown part of the file /ajax.php?action=save_category. The manipulation of the argument ID results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.

Executive ViewAI

Why It Matters

SourceCodester Pharmacy Sales and Inventory System version 1.0 contains a critical SQL injection vulnerability in the category management function that allows unauthenticated remote attackers to execute arbitrary database commands, potentially compromising patient data, inventory records, and system availability. Organizations running this pharmacy system face immediate risk of data theft, manipulation, and operational disruption, as exploit code is publicly available and no vendor patch exists.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /ajax.php?action=save_category to trusted administrative IP ranges only; (2) Deploy WAF rules blocking common SQL injection syntax (UNION, SELECT, DROP) in the ID parameter; (3) Implement database query logging and alerting for anomalous commands; (4) Apply principle of least privilege-ensure pharmacy system database account lacks DROP/CREATE permissions; (5) Consider application-level input validation if source code access available. These controls reduce but do not eliminate risk; vendor upgrade or system replacement is required for full remediation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2022-30407 CRITICAL POC
9.8 May 13

Pharmacy Sales And Inventory System v1.0 is vulnerable to SQL Injection via /pharmacy-sales-and-inventory-system/manage_

CVE-2026-10255 MEDIUM POC
5.5 Jun 01

Unauthenticated remote information disclosure in SourceCodester Pharmacy Sales and Inventory System 1.0 allows network-b

CVE-2026-8083 MEDIUM POC
5.5 May 07

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7550 MEDIUM POC
5.5 May 01

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,

CVE-2026-7549 MEDIUM POC
5.5 May 01

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra

CVE-2026-7199 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7194 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 exposes the `/ajax.php?action=save_product` endp

CVE-2026-7127 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,

CVE-2026-7088 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7087 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra

CVE-2026-6189 MEDIUM POC
5.5 Apr 13

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to extra

CVE-2026-6188 MEDIUM POC
5.5 Apr 13

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to execu

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy