CVE-2026-7128
Published: 27 April 2026
Summary
CVE-2026-7128 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-7128 is a SQL injection vulnerability (CWE-74, CWE-89) affecting SourceCodester Pharmacy Sales and Inventory System 1.0. The issue arises in the processing of the file /ajax.php?action=save_type, where manipulation of the ID argument enables injection of malicious SQL code.
The vulnerability carries 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), allowing remote, unauthenticated attackers to exploit it with low complexity and no user interaction. Successful exploitation can result in limited impacts to confidentiality, integrity, and availability, such as unauthorized data access, modification, or disruption.
Advisories from VULDB (https://vuldb.com/vuln/359727, https://vuldb.com/vuln/359727/cti, https://vuldb.com/submit/800973) and a GitHub issue (https://github.com/lonelyuan/vunls/issues/13) document the vulnerability, with the original software available at https://www.sourcecodester.com/. The exploit has been publicly disclosed and may be used.
The vulnerability was published on 2026-04-27T14:16:56.690.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-25852
Vulnerability details
A security vulnerability has been detected in SourceCodester Pharmacy Sales and Inventory System 1.0. This issue affects some unknown processing of the file /ajax.php?action=save_type. Such manipulation of the argument ID leads to sql injection. The attack can be executed remotely.…
more
The exploit has been disclosed publicly and may be used.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection in a remote, unauthenticated public-facing web application (ajax.php) directly enables exploitation of public-facing applications.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
SI-10 requires validation of information inputs like the manipulable ID argument in /ajax.php?action=save_type, directly preventing SQL injection exploits.
SI-2 mandates timely remediation of identified flaws such as the SQL injection vulnerability in the Pharmacy Sales and Inventory System 1.0, eliminating the root cause.
SC-7 enables boundary protection mechanisms like web application firewalls to monitor and block SQL injection attempts targeting the vulnerable endpoint.