Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege Grit account
-
DeliveryNavigate to CSV export endpoint
-
ExploitInject SQL payload into filter or sort parameter
-
ExecutionGritEntityController passes unsanitized input to database query
-
ImpactExtract records from database or modify application data
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 a valid low-privilege authenticated session in the Grit application - the CVSS 4.0 vector (PR:L) confirms that unauthenticated access is insufficient. The attacker must be able to reach the Grit CSV export endpoint over the network (AV:N), meaning internet-exposed deployments face the broadest exposure. The injection point is the CSV export functionality within GritEntityController; if that endpoint is disabled or the route is removed, this specific attack path is eliminated. Because GritEntityController is a Rails concern shared across controllers, the injection surface may extend to other entity types beyond CSV export - the full scope is not confirmed from available data. Key limiting factors are the authentication prerequisite (restricting opportunistic mass exploitation) and the database role's privilege level (bounding data exposure). Non-default configuration or platform-specific requirements are not indicated by the available data. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scores 5.3 (Medium) and describes a remotely exploitable, low-complexity vulnerability requiring only low-privilege authentication with no user interaction. The E:P supplemental metric confirms a public proof-of-concept is available, which materially lowers the bar for exploitation. Impact is scored as low across confidentiality, integrity, and availability (VC:L/VI:L/VA:L) - however, SQL injection real-world impact is strongly bounded by the database role's permissions, which are unknown; a permissive role could enable full database read or write beyond what the CVSS suggests. The vulnerability is not listed in CISA KEV, indicating no confirmed mass exploitation at time of analysis, and no EPSS score was provided in the input data. Despite the medium CVSS score, the combination of a public PoC, an unresponsive vendor, and no available patch meaningfully elevates practical risk for any internet-exposed Grit deployment. Defenders should treat this as higher priority than the raw score implies, particularly where the Grit application database role has broad table access. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege Grit account navigates to the CSV export endpoint and injects a UNION-based or error-based SQL payload via a filter or sort parameter processed by GritEntityController, causing the underlying database query to return or modify data outside the intended scope. A public proof-of-concept documents this technique in detail (https://github.com/natanmorette-thoropass/thoropass-vuln-research-program/blob/main/2026/SQL%20Injection%20in%20grit42%20CSV%20Export%20Endpoint/README.md), lowering the skill threshold for exploitation significantly. Depending on the database role's permissions, the attacker may exfiltrate sensitive records from multiple tables or modify application data with no further escalation required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 14, 2026
SQL injection in Grit42 Grit up to version 0.11.0 allows authenticated low-privilege remote attackers to query or manipulate the backend database through a CSV export endpoint handled by the GritEntityController Rails concern. The vulnerable code path resides in shared controller logic at modules/core/backend/app/controllers/concerns/grit/core/grit_entity_controller.rb, meaning the injection surface may extend across multiple entity types rather than a single isolated route. A public proof-of-concept exploit exists via a researcher's GitHub repository, no vendor patch has been released, and the vendor was unresponsive to responsible disclosure - leaving deployments without an official remediation path.
RemediationAI
No vendor-released patch has been identified at time of analysis; the vendor did not respond to responsible disclosure and no fix version exists to reference. As an immediate compensating control, restrict access to the CSV export endpoint to only trusted, operationally necessary users - enforce this at the reverse-proxy or web-server layer rather than solely relying on application-layer controls. If the CSV export feature is not required, disable it by removing or commenting out the relevant route in the Rails router, which eliminates this attack surface entirely with no side effects for users who do not depend on it. Deploy a Web Application Firewall with SQL injection detection signatures targeting the GritEntityController endpoint; note that WAF bypass remains possible for skilled attackers and should not be treated as a complete fix. Review and restrict the database role used by the Grit application to the minimum required privileges - scoping it to SELECT on specific tables reduces worst-case impact of a successful injection. Continuously monitor database and application logs for anomalous query patterns such as UNION-based or time-delay payloads. Track VulDB entry 370834 (https://vuldb.com/vuln/370834) for any future vendor patch releases.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Grit42 Grit (CPE: cpe:2.3:a:grit42:grit:*:*:*:*:*:*:*:*) is a Ruby on Rails application whose GritEntityController is implemented as a Rails concern - a module of reusable controller logic mixed into multiple controllers. This architectural pattern means the SQL injection flaw in this concern is likely inherited by every controller that includes it, broadening the attack surface beyond a single endpoint. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): user-controlled parameters supplied to the CSV export endpoint are incorporated into database queries without adequate parameterization or escaping. The researcher's PoC specifically identifies the CSV export endpoint as the injection point, suggesting filter or sort parameters passed to generate database-backed CSV output are unsanitized before reaching the ORM or raw SQL layer.
Know when Grit 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible SQL injection requiring low-privilege authentication; low CIA impact consistent with constrained database role and no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in Grit42 Grit up to 0.11.0. Affected by this issue is some unknown functionality of the file modules/core/backend/app/controllers/concerns/grit/core/grit_entity_controller.rb of the component GritEntityController. Performing a manipulation results in sql injection. The attack may be initiated remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
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.
EUVD-2026-36667
GHSA-crh6-pvh7-v7wf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB