Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-7127: SQL Injection in SourceCodester Pharmacy Sales and Inventory System

0
Medium
VulnerabilityCVE-2026-7127cvecve-2026-7127
Published: Mon Apr 27 2026 (04/27/2026, 13:16:22 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Pharmacy Sales and Inventory System

Description

CVE-2026-7127 is a SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1. 0. It occurs due to improper handling of the 'ID' parameter in the /ajax. php? action=delete_receiving endpoint. This flaw allows remote attackers to manipulate SQL queries, potentially compromising the database. The vulnerability has a CVSS 4. 0 base score of 6. 9, indicating medium severity. No official patch or remediation guidance is currently available from the vendor.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/27/2026, 13:45:18 UTC

Technical Analysis

SourceCodester Pharmacy Sales and Inventory System 1.0 contains a SQL injection vulnerability in the /ajax.php?action=delete_receiving endpoint. The vulnerability arises from insufficient input validation of the 'ID' parameter, enabling remote attackers to inject malicious SQL commands. This can lead to unauthorized database access or manipulation. The CVSS 4.0 score is 6.9, reflecting a medium severity with network attack vector, no privileges required, and no user interaction needed. No official patch or remediation level has been provided by the vendor as of the published date. Exploit code is publicly available, increasing the risk of exploitation.

Potential Impact

Successful exploitation of this vulnerability could allow remote attackers to execute arbitrary SQL commands on the backend database. This may result in unauthorized data access, modification, or deletion within the affected system. Given the medium CVSS score and public exploit availability, there is a tangible risk to confidentiality and integrity of data managed by the affected software. However, no confirmed exploitation in the wild has been reported to date.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should restrict access to the vulnerable endpoint, implement web application firewall (WAF) rules to detect and block SQL injection attempts targeting the 'ID' parameter, and consider disabling or limiting the use of the affected functionality if feasible. Monitoring for unusual database activity related to this endpoint is also advisable.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-04-26T19:16:10.099Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69ef64deba26a39fba2863d9

Added to database: 4/27/2026, 1:30:06 PM

Last enriched: 4/27/2026, 1:45:18 PM

Last updated: 4/27/2026, 3:43:40 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses