CVE-2026-7126: SourceCodester Pharmacy Sales and Inventory System ajax.php sql injection

Published Apr 27, 2026
·
Updated

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=savecategory. The manipulation of the argument ID results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.

Affected Software

1 affected component
Sourcecodester Pharmacy Sales and Inventory System=1.0

Event History

Apr 27, 2026
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-7126?

CVE-2026-7126 has a critical severity rating due to the potential for SQL injection attacks.

2

How do I fix CVE-2026-7126?

To fix CVE-2026-7126, validate and sanitize user inputs in the ajax.php file, particularly in the save_category action.

3

What systems are affected by CVE-2026-7126?

CVE-2026-7126 affects SourceCodester Pharmacy Sales and Inventory System version 1.0.

4

What type of vulnerability is CVE-2026-7126?

CVE-2026-7126 is classified as an SQL injection vulnerability.

5

Can CVE-2026-7126 lead to data breaches?

Yes, CVE-2026-7126 can lead to unauthorized access and data breaches if exploited.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203