Skip to main content

Grocery Store Management System CVE-2026-37149

HIGH
SQL Injection (CWE-89)
2026-06-25 mitre
7.7
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach grocery web app search page
  2. Delivery
    Submit crafted SQL in scost parameter
  3. Exploit
    Injection alters product-search query
  4. Execution
    Database returns out-of-scope rows
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 7.7 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 9.1 CRITICAL

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
Jun 26, 2026 - 15:22 NVD
7.7 (HIGH)
CVE Published
Jun 25, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 25, 2026 - 00:00 cve.org
HIGH 7.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Rare
individual student/hobby GitHub project, negligible production footprint
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy