CVE-2026-104613: CodeAstro Simple Pharmacy Management System SQL injection

CVE-2026-104613 · Severity: medium · CVSS 6.3 · Published 2026-10-02

CodeAstro Simple Pharmacy Management System is a web-based application for managing pharmacy inventory and transactions. A SQL injection vulnerability in the product view functionality allows attackers to manipulate database queries by injecting malicious code through the ID parameter, potentially leading to unauthorized database access, data theft, modification, or deletion.

Vendors: CodeAstro.

Quick answers

Is CVE-2026-104613 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-104613 being exploited in the wild.
How severe is CVE-2026-104613?
Medium severity, with a CVSS score of 6.3, published 2 October 2026.
Which products and versions are affected?
CodeAstro Simple Pharmacy Management System 1.0.
Is there a fix for CVE-2026-104613?
No fixed version is recorded yet. Use prepared statements and parameter binding to separate SQL code from user input data. Implement strict input validation and filtering to ensure user data conforms to expected formats. Minimize database user permissions by avoiding root or admin accounts for application database connections.</anigation> <parameter name="timeline">[{"kind": "disclosed", "at": "2026-09-07", "note": "Vulnerability reported on GitHub"}, {"kind": "advisory", "at": "2026-10-02", "note": "CVE-2026-104613 published"}] If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-104613 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-104613?
Check whether you run CodeAstro Simple Pharmacy Management System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

Use prepared statements and parameter binding to separate SQL code from user input data. Implement strict input validation and filtering to ensure user data conforms to expected formats. Minimize database user permissions by avoiding root or admin accounts for application database connections.</anigation> <parameter name="timeline">[{"kind": "disclosed", "at": "2026-09-07", "note": "Vulnerability reported on GitHub"}, {"kind": "advisory", "at": "2026-10-02", "note": "CVE-2026-104613 published"}]

Technical details

The vulnerability is a SQL injection in the /SimplePharmacy-PHP/product/view.php file, where the 'id' parameter is incorporated directly into SQL queries without proper input validation or parameterized queries. An attacker can send specially crafted requests to exploit time-based blind SQL injection (tested with MySQL SLEEP queries) to extract or manipulate database contents. This requires network access but no authentication; exploitation has been publicly disclosed.

Affected products

  • CodeAstro Simple Pharmacy Management System 1.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.