Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach grocy web interface
-
DeliverySend GET to /stockreports/spendings
-
ExploitInject SQL via product-group parameter
-
ExecutionBackend executes crafted query
-
ImpactExfiltrate sensitive database contents
Vulnerability Assessment
| Weakness |
CWE
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 HTTP access to the grocy web application and specifically the stock spendings report at /stockreports/spendings, with the injection delivered through the product-group parameter. The CVSS vector marks PR:N/UI:N (no privileges or user interaction), but as a practical limiting factor grocy is normally an authenticated application intended for private deployment, so reachability typically depends on the instance being network-accessible to the attacker and, likely, on a valid session or an auth-disabled configuration - authentication requirements are not definitively confirmed from the available data and should be verified against the endpoint. Exploitation is confined to grocy v4.6.0 as described. |
| Impact | The signals are mixed. CVSS 3.1 rates this 9.8 Critical with a fully remote, unauthenticated, low-complexity vector (AV:N/AC:L/PR:N/UI:N) and total confidentiality/integrity/availability impact, and SSVC concurs that exploitation is automatable with total technical impact - consistent with a straightforward SQLi. However, EPSS is only 0.15% (5th percentile), and SSVC exploitation status is merely 'poc' (not active), and the CVE is not in CISA KEV, which together suggest real-world exploitation is currently limited rather than widespread - plausibly a function of grocy's modest deployment footprint rather than difficulty. One caveat: the CVSS assigns PR:N, but grocy's spendings report is part of an authenticated application UI, so real-world exploitation may in practice require a valid session or a deployment with authentication disabled - verify against the actual endpoint's auth handling. Net: technically high-severity and easy to exploit if reachable, but the practical priority is moderated by low prevalence and no evidence of active exploitation. |
| Exploit ScenarioDerived | An attacker who can reach the grocy web interface sends a GET request to /stockreports/spendings with a crafted product-group value containing SQL syntax (e.g., a UNION-based or boolean/time-based payload), causing the backend to return or leak database contents such as stored household and inventory data. Because publicly available exploit code exists in a gist and the vector is network-based with low complexity, the barrier to reproduction is low for anyone with access to the endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
SQL injection in Bernd Bestel grocy v4.6.0 lets remote attackers extract sensitive database contents by injecting a crafted SQL statement through the product-group parameter of the /stockreports/spendings endpoint. The CVSS 3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N) and SSVC rates technical impact as total with automatable exploitation, though EPSS remains low at 0.15%; publicly available exploit code exists via a published gist, but there is no public exploit identified as actively exploited (not in CISA KEV).
RemediationAI
No vendor-released patch identified at time of analysis - no fixed version or upstream commit is present in the provided data, so monitor the grocy project (github.com/grocy/grocy) and its release notes for a version superseding 4.6.0 and upgrade as soon as one is published. As compensating controls, restrict network access to the grocy instance (it is designed for private/home-lab use, so place it behind a VPN or firewall and do not expose it to the internet), require authentication and limit the spendings/stockreports functionality to trusted users, and place a WAF or reverse-proxy rule in front of the /stockreports/spendings endpoint to filter SQL metacharacters in the product-group parameter - noting that WAF filtering is a stopgap that can be bypassed and may break legitimate group names containing special characters. Review the referenced PoC gist to build detection signatures for the specific injection pattern.
Affected VersionsENISA
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
grocy is a self-hosted, web-based ERP/groceries-and-household management application (PHP with an SQLite backend) commonly run in home-lab and small-office contexts. The flaw is a classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) issue: the product-group parameter consumed by the stock spendings report at /stockreports/spendings is concatenated into a SQL query without proper parameterization or sanitization, allowing an attacker's input to alter query structure. The provided CPE string (cpe:2.3:a:n/a:n/a:*) is a placeholder and does not identify the product precisely, so the affected component is derived from the description rather than structured NVD CPE data.
Know when N A 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:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network SQLi with low complexity; grocy is an authenticated app so PR:L; primary impact is database disclosure (C:H) with limited integrity and no inherent availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
Bernd Bestel grocy v4.6.0 was discovered to contain a SQL injection vulnerability in the product-group parameter at /stockreports/spendings. This vulnerability allows attackers to access sensitive database information via a crafted SQL statement.
Executive ViewAI
grocy v4.6.0 contains an unauthenticated SQL injection vulnerability allowing remote extraction of complete database contents through the /stockreports/spendings endpoint; publicly available exploit code exists. Any organization deploying this inventory management system faces critical exposure of all stored data without requiring authentication. Immediate containment and remediation are required.
No vendor-released patch identified at time of analysis. Deploy Web Application Firewall (WAF) rules to block SQL injection payloads targeting the product-group parameter on /stockreports/spendings endpoint; restrict network access via IP allowlisting to authorized sources only; enable comprehensive database access logging and alerting to detect exploitation attempts; consider taking the grocy service offline until vendor patch availability is confirmed.
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.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-36788
GHSA-rf3j-fpf7-94x7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB