Security Vulnerability Report
中文
CVE-2026-33142 CVSS 8.1 HIGH

CVE-2026-33142

Published: 2026-03-20 21:17:15
Last Modified: 2026-03-23 20:34:11

Description

OneUptime is a solution for monitoring and managing online services. Prior to version 10.0.34, the fix for CVE-2026-32306 (ClickHouse SQL injection via aggregate query parameters) added column name validation to the _aggregateBy method but did not apply the same validation to three other query construction paths in StatementGenerator. The toSortStatement, toSelectStatement, and toGroupByStatement methods accept user-controlled object keys from API request bodies and interpolate them as ClickHouse Identifier parameters without verifying they correspond to actual model columns. ClickHouse Identifier parameters are substituted directly into queries without escaping, so an attacker who can reach any analytics list or aggregate endpoint can inject arbitrary SQL through crafted sort, select, or groupBy keys. This issue has been patched in version 10.0.34.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Configurations (Affected Products)

cpe:2.3:a:hackerbay:oneuptime:*:*:*:*:*:*:*:* - VULNERABLE

PoC / Exploit Code

No PoC code available.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33142", "sourceIdentifier": "[email protected]", "published": "2026-03-20T21:17:14.770", "lastModified": "2026-03-23T20:34:10.660", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OneUptime is a solution for monitoring and managing online services. Prior to version 10.0.34, the fix for CVE-2026-32306 (ClickHouse SQL injection via aggregate query parameters) added column name validation to the _aggregateBy method but did not apply the same validation to three other query construction paths in StatementGenerator. The toSortStatement, toSelectStatement, and toGroupByStatement methods accept user-controlled object keys from API request bodies and interpolate them as ClickHouse Identifier parameters without verifying they correspond to actual model columns. ClickHouse Identifier parameters are substituted directly into queries without escaping, so an attacker who can reach any analytics list or aggregate endpoint can inject arbitrary SQL through crafted sort, select, or groupBy keys. This issue has been patched in version 10.0.34."}, {"lang": "es", "value": "OneUptime es una solución para monitorear y gestionar servicios en línea. Antes de la versión 10.0.34, la corrección para CVE-2026-32306 (inyección SQL de ClickHouse a través de parámetros de consulta agregados) añadió validación de nombres de columna al método _aggregateBy pero no aplicó la misma validación a otras tres rutas de construcción de consultas en StatementGenerator. Los métodos toSortStatement, toSelectStatement y toGroupByStatement aceptan claves de objeto controladas por el usuario de cuerpos de solicitud de API y los interpolan como parámetros de identificador de ClickHouse sin verificar que correspondan a columnas de modelo reales. Los parámetros de identificador de ClickHouse se sustituyen directamente en las consultas sin escape, por lo que un atacante que pueda alcanzar cualquier lista de análisis o punto final agregado puede inyectar SQL arbitrario a través de claves de ordenación, selección o agrupación manipuladas. Este problema ha sido parcheado en la versión 10.0.34."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:hackerbay:oneuptime:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.34", "matchCriteriaId": "E9A7D117-1577-4F24-BE5F-0E23A8A0BF3E"}]}]}], "references": [{"url": "https://github.com/OneUptime/oneuptime/security/advisories/GHSA-gcg3-c5p2-cqgg", "source": "[email protected]", "tags": ["Mitigation", "Vendor Advisory"]}]}}