{"id":"CVE-2026-55084","state":"PUBLISHED","title":"SQL Injection in SqlView Filter Parameter Leading to Arbitrary Database Read","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\n`/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.\n\nAffected 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\nPatched 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","publishedAt":"2026-07-21T18:30:09.057Z","updatedAt":"2026-07-21T19:03:58.016Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["dhis2 dhis2-core"],"affected":[{"vendor":"dhis2","product":"dhis2-core","versions":[{"version":">= 2.37, <= 2.39","status":"affected"},{"version":">= 2.40.0, < 2.40.11.1","status":"affected"},{"version":">= 2.41.0, < 2.41.8.2","status":"affected"},{"version":">= 2.42.0, < 2.42.5.1","status":"affected"},{"version":">= 2.43.0, < 2.43.0.1","status":"affected"}]}],"references":["https://github.com/dhis2/dhis2-core/security/advisories/GHSA-pwmg-mvjw-4m23","https://github.com/dhis2/dhis2-core/pull/24162"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55084.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55084","state":"PUBLISHED","datePublished":"2026-07-21T18:30:09.057Z","dateUpdated":"2026-07-21T19:03:58.016Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-16T14:41:54.577Z"},"containers":{"cna":{"title":"SQL Injection in SqlView Filter Parameter Leading to Arbitrary Database Read","descriptions":[{"lang":"en","value":"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\n`/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.\n\nAffected 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\nPatched 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":[{"vendor":"dhis2","product":"dhis2-core","versions":[{"version":">= 2.37, <= 2.39","status":"affected"},{"version":">= 2.40.0, < 2.40.11.1","status":"affected"},{"version":">= 2.41.0, < 2.41.8.2","status":"affected"},{"version":">= 2.42.0, < 2.42.5.1","status":"affected"},{"version":">= 2.43.0, < 2.43.0.1","status":"affected"}]}],"references":[{"url":"https://github.com/dhis2/dhis2-core/security/advisories/GHSA-pwmg-mvjw-4m23","name":"https://github.com/dhis2/dhis2-core/security/advisories/GHSA-pwmg-mvjw-4m23","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dhis2/dhis2-core/pull/24162","name":"https://github.com/dhis2/dhis2-core/pull/24162","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-21T18:30:09.057Z"},"source":{"advisory":"GHSA-pwmg-mvjw-4m23","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-21T19:03:51.495263Z","id":"CVE-2026-55084","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-21T19:03:58.016Z"}}]}}}