SQL Injection in SqlView Filter Parameter Leading to Arbitrary Database Read
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dhis2 | dhis2-core | 2.37 – 2.39; 2.40.0 to before 2.40.11.1; 2.41.0 to before 2.41.8.2; 2.42.0 to before 2.42.5.1; 2.43.0 to before 2.43.0.1 | 2.40.11.1, 2.41.8.2, 2.42.5.1, 2.43.0.1 | Patch available | CNA |
- dhis2-core Vendordhis2 Affected 2.37 – 2.39; 2.40.0 to before 2.40.11.1; 2.41.0 to before 2.41.8.2; 2.42.0 to before 2.42.5.1; 2.43.0 to before 2.43.0.1 Fixed in 2.40.11.1, 2.41.8.2, 2.42.5.1, 2.43.0.1 Patch available CNA
Remediation
- Fix · CNA dhis2-core (dhis2) Fixed in 2.40.11.1, 2.41.8.2, 2.42.5.1, 2.43.0.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-55084
References
More dhis2 vulnerabilities
- TI-2026-39787 DHIS2: Unsafe Java Deserialization - Remote Code Execution (RCE) CVSS 3.1CRITICAL 9.1
- TI-2022-08660 SQL Injection in DHIS2's in OrgUnit program association CVSS 3.1HIGH 8.8
- TI-2021-16565 SQL Injection in DHIS2 Tracker API CVSS 3.1HIGH 8.8
- TI-2026-39786 DHIS2 SQL injection in SQL View filter values CVSS 4.0HIGH 8.7
- TI-2021-18026 SQL Injection in DHIS2 Tracker API CVSS 3.1HIGH 8.8
- TI-2021-12372 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in dhis2-core CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences