8.8high
SQL Injection in SqlView Filter Parameter Leading to Arbitrary Database Read
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 32% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
DHIS2 is a flexible information system for data capture, management, validation, analytics and visualization. A SQL injection vulnerability was identified in the SqlView API endpoint of the DHIS2 application in the `filter` parameter used by the `/api/sqlViews/{viewId}/data.json` endpoint. An authenticated user with access to a SqlView can inject arbitrary SQL queries inside the `filter` parameter by abusing an expression executed by PostgreSQL and its output is reflected inside the application error message. This behavior enables attackers to extract arbitrary database content using error-based SQL injection. Affected versions include: 2.37, 2.38, 2.39, 2.40.x before 2.40.11.1/2.40.12, 2.41.x before 2.41.8.2, 2.42.x before 2.42.5.1, 2.43.0 before 2.43.0.1, 2.44 development branch before PR #24162 Patched versions include: 2.37-EOS (2026-06-09), 2.38-EOS (2026-06-09), 2.39-EOS (2026-06-09), 2.40.11.1, 2.40.12, 2.41.8.2, 2.42.5.1, 2.43.0.1, 2.44 development branch after PR #24162
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dhis2 dhis2-core | >= 2.37, <= 2.39, >= 2.40.0, < 2.40.11.1, >= 2.41.0, < 2.41.8.2, >= 2.42.0, < 2.42.5.1, >= 2.43.0, < 2.43.0.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
DHIS2 is a flexible information system for data capture, management, validation, analytics and visualization. A SQL injection vulnerability was identified in the SqlView API endpoint of the DHIS2 application in the `filter` parameter used by the `/api/sqlViews/{viewId}/data.json` endpoint. An authenticated user with access to a SqlView can inject arbitrary SQL queries inside the `filter` parameter by abusing an expression executed by PostgreSQL and its output is reflected inside the application error message. This behavior enables attackers to extract arbitrary database content using error-based SQL injection. Affected versions include: 2.37, 2.38, 2.39, 2.40.x before 2.40.11.1/2.40.12, 2.41.x before 2.41.8.2, 2.42.x before 2.42.5.1, 2.43.0 before 2.43.0.1, 2.44 development branch before PR #24162 Patched versions include: 2.37-EOS (2026-06-09), 2.38-EOS (2026-06-09), 2.39-EOS (2026-06-09), 2.40.11.1, 2.40.12, 2.41.8.2, 2.42.5.1, 2.43.0.1, 2.44 development branch after PR #24162
NVD (es)
DHIS2 es un sistema de información flexible para la captura, gestión, validación, análisis y visualización de datos. Se identificó una vulnerabilidad de inyección SQL en el endpoint API SqlView de la aplicación DHIS2 en el parámetro ’filter’ utilizado por el endpoint ’/api/sqlViews/{viewId}/data.json’. Un usuario autenticado con acceso a una SqlView puede inyectar consultas SQL arbitrarias dentro del parámetro ’filter’ abusando de una expresión ejecutada por PostgreSQL y su salida se refleja dentro del mensaje de error de la aplicación. Este comportamiento permite a los atacantes extraer contenido arbitrario de la base de datos utilizando inyección SQL basada en errores. Las versiones afectadas incluyen: 2.37, 2.38, 2.39, 2.40.x antes de 2.40.11.1/2.40.12, 2.41.x antes de 2.41.8.2, 2.42.x antes de 2.42.5.1, 2.43.0 antes de 2.43.0.1, rama de desarrollo 2.44 antes de PR #24162 Las versiones parcheadas incluyen: 2.37-EOS (2026-06-09), 2.38-EOS (2026-06-09), 2.39-EOS (2026-06-09), 2.40.11.1, 2.40.12, 2.41.8.2, 2.42.5.1, 2.43.0.1, rama de desarrollo 2.44 después de PR #24162
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55084 changed 2026-07-21 | CVE Terms of Use |
| NVD | CVE-2026-55084 changed 2026-10-24 | Public domain |