CVE-2026-7126
Published: 27 April 2026
Summary
CVE-2026-7126 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-7126 is a SQL injection vulnerability (CWE-74, CWE-89) in SourceCodester Pharmacy Sales and Inventory System 1.0, affecting an unknown part of the file /ajax.php?action=save_category through manipulation of the ID argument. Published on 2026-04-27T14:16:56.333, it 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), indicating high severity due to its network accessibility and low complexity.
The vulnerability enables remote attackers with no privileges or user interaction to launch SQL injection attacks by manipulating the ID parameter in the specified endpoint. Successful exploitation can result in low-level impacts on confidentiality, integrity, and availability, such as limited data exposure, modification, or disruption.
Advisories referenced on VulDB (including vuln/359725 and related CTI/submit pages) and a GitHub issue (y1shiny1shin/vuldb-project/issues/2) document the flaw, with the vendor site at sourcecodester.com. No specific patches or mitigation guidance are detailed in the available references.
An exploit for this vulnerability has been publicly released, heightening the potential for real-world attacks against exposed instances.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-25850
Vulnerability details
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…
more
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?
SQL injection vulnerability in a publicly accessible web application endpoint (/ajax.php) directly enables remote exploitation of a public-facing application without authentication or user interaction.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly prevents SQL injection by validating the manipulable ID argument in /ajax.php?action=save_category.
Requires timely identification and remediation of the specific SQL injection flaw in CVE-2026-7126.
Facilitates vulnerability scanning to identify SQL injection issues like manipulation of the ID parameter.