Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-cgfv-jrfp-2r7v: OpenRemote has Authenticated SQL Injection via Datapoint Crosstab Export

0
High
Published: 07/06/2026 (07/06/2026, 21:51:32 UTC)
Source: GCVE Database
Product: io.openremote:openremote-manager

Description

OpenRemote Manager versions prior to 1.26.0 contain an authenticated SQL injection vulnerability in the datapoint crosstab export API. An authenticated user with permissions to create or rename assets and export datapoints can inject SQL code via asset names. This injection occurs because asset names are concatenated directly into PostgreSQL crosstab export queries without proper escaping, allowing attackers to exfiltrate database data through the exported CSV response. The vulnerability is especially critical in multi-tenant deployments where data from multiple tenants may be exposed.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Affected software

Mavenghsa
io.openremote:openremote-manager
Affected versions
<1.26.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 23:06:04 UTC

Technical Analysis

The datapoint export API in OpenRemote Manager builds PostgreSQL crosstab export queries by concatenating asset display names into raw SQL statements. Authenticated users with asset creation or renaming permissions can inject SQL via specially crafted asset names. The injection exploits incomplete escaping of double quotes and fixed dollar-quote delimiters in SQL identifiers and category queries. This allows attacker-controlled SQL appended to the COPY TO STDOUT query, streaming query results back in the CSV export. The vulnerability enables database data exfiltration through the application API without requiring direct database or filesystem access.

Potential Impact

A remote authenticated attacker with asset read/write and export permissions can execute arbitrary SQL queries within the context of the application database role. This leads to unauthorized data disclosure by exfiltrating database contents via the exported CSV file. In multi-tenant environments, this may expose data belonging to other tenants, increasing the risk of sensitive information leakage.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The recommended fix is to avoid embedding user-controlled asset names directly into executable SQL. This includes generating deterministic internal column aliases instead of using asset names as SQL identifiers, applying proper database-aware quoting for dynamic identifiers, and avoiding fixed dollar-quote delimiters around user-influenced strings. Until an official fix is available, restrict asset creation and renaming permissions to trusted users only and avoid exporting datapoints in crosstab format for assets with untrusted names.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-cgfv-jrfp-2r7v
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["Maven"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a4c33f027e9c797195ec8a0

Added to database: 07/06/2026, 23:02:08 UTC

Last enriched: 07/06/2026, 23:06:04 UTC

Last updated: 07/06/2026, 23:06:04 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses