CVE-2026-55084: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in dhis2 dhis2-core
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
AI Analysis
Technical Summary
The DHIS2 core application contains a SQL injection vulnerability (CWE-89) in the SqlView API endpoint. The issue arises from improper neutralization of special elements in the `filter` parameter used by the `/api/sqlViews/{viewId}/data.json` endpoint. An authenticated user with SqlView access can craft malicious input that is executed by PostgreSQL, with error messages reflecting the output, enabling extraction of arbitrary database content via error-based SQL injection. Affected versions include 2.37, 2.38, 2.39, and versions in the 2.40.x, 2.41.x, 2.42.x, and 2.43.x series prior to their respective patched releases. Fixed versions include 2.40.11.1, 2.40.12, 2.41.8.2, 2.42.5.1, 2.43.0.1, and versions after PR #24162 in the 2.44 development branch.
Potential Impact
Successful exploitation allows an authenticated user with access to a SqlView to perform error-based SQL injection, potentially extracting arbitrary sensitive data from the backend database. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (C:H/I:H/A:H). This could lead to unauthorized data disclosure and manipulation within the DHIS2 system.
Mitigation Recommendations
Patched versions addressing this vulnerability are available: 2.40.11.1, 2.40.12, 2.41.8.2, 2.42.5.1, 2.43.0.1, and versions after PR #24162 in the 2.44 development branch. Users should upgrade to these versions or later to remediate the issue. No vendor advisory content contradicts this; therefore, upgrading is the recommended remediation.
CVE-2026-55084: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in dhis2 dhis2-core
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
CVSS v3.1
Score 8.8high
Affected software
pkg:github/dhis2/dhis2-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The DHIS2 core application contains a SQL injection vulnerability (CWE-89) in the SqlView API endpoint. The issue arises from improper neutralization of special elements in the `filter` parameter used by the `/api/sqlViews/{viewId}/data.json` endpoint. An authenticated user with SqlView access can craft malicious input that is executed by PostgreSQL, with error messages reflecting the output, enabling extraction of arbitrary database content via error-based SQL injection. Affected versions include 2.37, 2.38, 2.39, and versions in the 2.40.x, 2.41.x, 2.42.x, and 2.43.x series prior to their respective patched releases. Fixed versions include 2.40.11.1, 2.40.12, 2.41.8.2, 2.42.5.1, 2.43.0.1, and versions after PR #24162 in the 2.44 development branch.
Potential Impact
Successful exploitation allows an authenticated user with access to a SqlView to perform error-based SQL injection, potentially extracting arbitrary sensitive data from the backend database. The vulnerability impacts confidentiality, integrity, and availability, as indicated by the CVSS vector (C:H/I:H/A:H). This could lead to unauthorized data disclosure and manipulation within the DHIS2 system.
Mitigation Recommendations
Patched versions addressing this vulnerability are available: 2.40.11.1, 2.40.12, 2.41.8.2, 2.42.5.1, 2.43.0.1, and versions after PR #24162 in the 2.44 development branch. Users should upgrade to these versions or later to remediate the issue. No vendor advisory content contradicts this; therefore, upgrading is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T14:41:54.577Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fbd912a4a8d5989977fee
Added to database: 07/21/2026, 18:42:25 UTC
Last enriched: 07/21/2026, 18:57:08 UTC
Last updated: 07/21/2026, 21:10:01 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.