Skip to main content

grocy CVE-2026-50890

| EUVDEUVD-2026-36788 CRITICAL
SQL Injection (CWE-89)
2026-06-15 mitre GHSA-rf3j-fpf7-94x7
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Reach grocy web interface
  2. Delivery
    Send GET to /stockreports/spendings
  3. Exploit
    Inject SQL via product-group parameter
  4. Execution
    Backend executes crafted query
  5. Impact
    Exfiltrate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – 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

n/a n/a

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

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

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.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

Lifecycle Timeline

2
CVE Published
Jun 15, 2026 - 00:00 cve.org
CRITICAL 9.8
CVE Published
Jun 15, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
self-hosted home/small-office household ERP, niche deployment footprint
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

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