Grocery Store Management System CVE-2026-37149
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach grocery web app search page
-
DeliverySubmit crafted SQL in scost parameter
-
ExploitInjection alters product-search query
-
ExecutionDatabase returns out-of-scope rows
-
ImpactExfiltrate credentials and sensitive records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to be deployed and reachable, with a request reaching /grocery/search_products.php carrying an attacker-controlled 'scost' parameter; no authentication is needed (PR:N) and no user interaction is required (UI:N), so any party able to reach the search endpoint can exploit it. The key limiting factors are: (1) the supplied vector specifies AV:L, implying local access may be needed - this conflicts with the web-delivered nature of the flaw and must be confirmed with the source; and (2) the application's extremely small deployment footprint, meaning few instances are exposed. The exploit is constrained only to data the configured MySQL user can read, and A:N indicates no availability impact is expected. |
| Impact | Signals are mixed and partly contradictory. The supplied CVSS:3.1 vector scores AV:L (local attack vector), AC:L, PR:N, UI:N, C:H/I:H/A:N for a 7.7 - but a SQL injection reachable through an HTTP-facing PHP search page is normally network-exploitable (AV:N), so the AV:L designation appears inconsistent with the described web-request delivery and should be verified; if AV:N is correct the real-world severity is higher than the local-only framing implies. EPSS is low (0.24%, 16th percentile) and the CVE is NOT in CISA KEV, indicating no evidence of active or widespread exploitation. However, a public exploit repository (github.com/pateldhyeyit/CVE-2026-37149) exists, lowering the skill barrier. The decisive mitigating factor is prevalence: this is a hobby/educational project with negligible production footprint, so despite an easy, unauthenticated, high-impact data-disclosure primitive, aggregate real-world risk is low and this is not a fleet-wide emergency for most organizations - it matters only to the few who actually deployed this specific application. |
| Exploit ScenarioDerived | An attacker browsing the grocery application's product-search feature submits a crafted value in the 'scost' field (e.g., a UNION-based payload) and observes the modified query return rows from other tables, dumping user credentials and order data. Because no authentication is required (PR:N) and public exploit code is available, an opportunistic attacker can automate extraction with a tool like sqlmap pointed at search_products.php. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 26, 2026
SQL injection in the open-source Grocery Store Management System (PHP/MySQL, v1.0 by anirudhkannanvp) lets attackers read arbitrary database contents by injecting a crafted SQL payload through the unsanitized 'scost' parameter of /grocery/search_products.php. The flaw (CWE-89) carries a CVSS of 7.7 and exposes credentials, customer records, and other sensitive data; publicly available exploit code exists in a dedicated GitHub repository, though it is not listed in CISA KEV and its EPSS exploitation probability is low (0.24%, 16th percentile).
RemediationAI
No vendor-released patch identified at time of analysis - the project is an individual GitHub repository with no security advisory or tagged fix. The actionable code-level fix is to rewrite the query in /grocery/search_products.php to use parameterized queries / prepared statements (PDO or mysqli bound parameters) for the 'scost' value, and to apply server-side input validation; the OWASP guidance referenced in the CVE (https://owasp.org/www-community/attacks/SQL_Injection) describes the technique. Until the code is fixed, restrict network exposure of the application (place it behind authentication or a VPN, or remove it from internet-facing hosts), deploy a WAF rule to block SQL metacharacters on the 'scost' parameter (trade-off: regex-based WAF rules can be bypassed and may break legitimate searches containing quotes), and run the application's MySQL account with least privilege limited to the specific tables required (trade-off: does not stop disclosure of in-scope tables). Given the project's status, migrating away from this unmaintained application is the most durable remediation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected application is a PHP web application backed by a MySQL/MariaDB database administered via phpMyAdmin, a common stack for small-business inventory demos and student projects. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the 'scost' request parameter is concatenated directly into a SQL query in the product-search handler (/grocery/search_products.php) without parameterization or input sanitization, allowing the query structure to be altered. Because the search interface typically issues SELECT statements, an attacker can leverage UNION-based or boolean/error-based techniques to exfiltrate data from any table the database user can reach. CPE enrichment is unavailable (the NVD CPE is the placeholder 'cpe:2.3:a:n/a:n/a:*'), so the affected component is identified only from the description and the upstream GitHub project, not from structured product metadata.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
SQLi via an HTTP-reachable, unauthenticated search parameter justifies AV:N/AC:L/PR:N/UI:N; data read and likely write give C:H/I:H, with no availability impact (A:N).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
GROCERY-STORE-MANAGEMENT-SYSTEM-USING-PHP-AND-MYSQL-PHPMYADMIN v1.0 was discovered to contain a SQL injection vulnerability in the scost parameter in /grocery/search_products.php. This vulnerability allows attackers to access sensitive database information via a crafted SQL statement.
Executive ViewAI
A SQL injection vulnerability in the open-source Grocery Store Management System (v1.0) enables attackers to access sensitive database contents including customer records and credentials through an unsanitized parameter. Publicly available exploit code exists for this vulnerability, though current exploitation probability remains low. This flaw affects any organization operating this PHP/MySQL system and poses a direct data breach risk.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement Web Application Firewall rules blocking SQL injection payloads targeting the 'scost' parameter in /grocery/search_products.php; (2) Apply prepared statements and input validation if source code is internally maintained; (3) Restrict database user permissions to read-only access where applicable; (4) Monitor database query logs for suspicious SQL patterns indicating exploitation attempts; (5) Implement network segmentation to limit attacker lateral movement if the system is compromised.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB