Vulnerability Description
Inventory-Management-System-PHP's login.php constructs its authentication query via direct string concatenation of raw POST parameters: $sql = "select * from user where email = '$email' and password = '$password'", with no escaping or parameterization, allowing authentication bypass via a payload such as email=' OR 1=1 LIMIT 1-- -. Separately, delete.php executes mysqli_query($db, "DELETE FROM product WHERE product_id=" . $_GET['id']) with no authentication check and no validation of the id parameter, allowing an unauthenticated attacker to delete arbitrary product rows or perform blind SQL injection via payloads such as id=0 OR SLEEP(5).
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/Harsh21Patel/Inventory-Management-System-PHP
- https://github.com/Harsh21Patel/Inventory-Management-System-PHP/pull/3
FAQ
What is CVE-2026-71248?
CVE-2026-71248 is a vulnerability with a CVSS score of 9.8 (CRITICAL). Inventory-Management-System-PHP's login.php constructs its authentication query via direct string concatenation of raw POST parameters: $sql = "select * from user where email = '$email' and password =...
How severe is CVE-2026-71248?
CVE-2026-71248 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-71248?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.