CVE-2026-7087
Published: 27 April 2026
Summary
CVE-2026-7087 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-7087 is a SQL injection vulnerability (CWE-74, CWE-89) in SourceCodester Pharmacy Sales and Inventory System 1.0, published on 2026-04-27. The flaw impacts an unknown function within the file /ajax.php?action=save_sales, where manipulation of the "ID" argument enables SQL injection.
The vulnerability is remotely exploitable by unauthenticated attackers (PR:N) with low attack complexity (AC:L) and no user interaction required (UI:N), carrying 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). Exploitation can result in limited impacts to confidentiality, integrity, and availability.
Advisories are available via VulDB entries (https://vuldb.com/vuln/359662, https://vuldb.com/submit/800060, https://vuldb.com/vuln/359662/cti) and a GitHub issue (https://github.com/nidieaaa/test/issues/2), with the vendor site at https://www.sourcecodester.com/. No specific patch or mitigation details are outlined in the disclosure.
A public exploit has been released, enabling potential real-world attacks on affected systems.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-25771
Vulnerability details
A security flaw has been discovered in SourceCodester Pharmacy Sales and Inventory System 1.0. Impacted is an unknown function of the file /ajax.php?action=save_sales. Performing a manipulation of the argument ID results in sql injection. The attack can be initiated remotely.…
more
The exploit has been released to the public and may be used for attacks.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The CVE describes a remotely exploitable SQL injection in a public-facing web application endpoint (/ajax.php), directly enabling T1190 (Exploit Public-Facing Application) by unauthenticated attackers with no user interaction required.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly prevents SQL injection by enforcing validation of the manipulated 'ID' argument in /ajax.php?action=save_sales before database processing.
Requires identification, reporting, and correction of the specific SQL injection flaw in the Pharmacy Sales and Inventory System.
Restricts the 'ID' input parameter to valid formats like integers at the application boundary, blocking SQL injection payloads.