CVE-2026-7127
Published: 27 April 2026
Summary
CVE-2026-7127 is a medium-severity Injection (CWE-74) vulnerability in Sourcecodester (inferred from references). Its CVSS base score is 5.5 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 13.5th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2026-7127 is a SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System 1.0, affecting unknown code in the file /ajax.php?action=delete_receiving. The issue arises from manipulation of the ID argument, classified under CWE-74 and CWE-89, with a CVSS v3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L). It was published on 2026-04-27.
Remote attackers require no privileges and can exploit the vulnerability over the network with low attack complexity and no user interaction. Successful exploitation enables limited impacts to confidentiality, integrity, and availability, such as unauthorized data access, modification, or disruption via SQL injection.
Advisories and details are documented on VulDB at https://vuldb.com/vuln/359726 and https://vuldb.com/vuln/359726/cti, with a submission at https://vuldb.com/submit/800972 and a related GitHub issue at https://github.com/y1shiny1shin/vuldb-project/issues/1. The affected software originates from https://www.sourcecodester.com/. No specific patch or mitigation steps are outlined in the provided references.
The exploit is publicly available and could be used for attacks, heightening the risk for exposed instances of the system.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-25851
Vulnerability details
A weakness has been identified in SourceCodester Pharmacy Sales and Inventory System 1.0. This vulnerability affects unknown code of the file /ajax.php?action=delete_receiving. This manipulation of the argument ID causes sql injection. Remote exploitation of the attack is possible. The exploit…
more
has been made available to the public and could be used for attacks.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection in publicly accessible web app (/ajax.php) directly enables remote exploitation of public-facing application (T1190).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly prevents SQL injection by validating and sanitizing the manipulable ID argument in /ajax.php?action=delete_receiving before database execution.
Requires identification, reporting, and correction of the specific SQL injection flaw in the Pharmacy Sales and Inventory System.
Facilitates discovery of the SQL injection vulnerability through vulnerability scanning, enabling timely remediation.