Cyber Resilience

CVE-2026-7126

Medium

Published: 27 April 2026

Published
27 April 2026
Modified
29 April 2026
KEV Added
Patch
CVSS Score v4 5.5 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0004 13.5th percentile
Risk Priority 11 60% EPSS · 20% KEV · 20% CVSS

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

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

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
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.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2026-3150Shared CWE-74, CWE-89
CVE-2026-3746Shared CWE-74, CWE-89
CVE-2025-2683Shared CWE-74, CWE-89
CVE-2026-5238Shared CWE-74, CWE-89
CVE-2026-4288Shared CWE-74, CWE-89
CVE-2026-2220Shared CWE-74, CWE-89
CVE-2025-1535Shared CWE-74, CWE-89
CVE-2026-0597Shared CWE-74, CWE-89
CVE-2026-1688Shared CWE-74, CWE-89
CVE-2026-5018Shared CWE-74, CWE-89

Affected Assets

Sourcecodester
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly prevents SQL injection by validating the manipulable ID argument in /ajax.php?action=save_category.

prevent

Requires timely identification and remediation of the specific SQL injection flaw in CVE-2026-7126.

detect

Facilitates vulnerability scanning to identify SQL injection issues like manipulation of the ID parameter.

References