{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.37"
              },
              {
                "last_affected": "2.39"
              },
              {
                "introduced": "2.40.0"
              },
              {
                "fixed": "2.40.11.1"
              },
              {
                "introduced": "2.41.0"
              },
              {
                "fixed": "2.41.8.2"
              },
              {
                "introduced": "2.42.0"
              },
              {
                "fixed": "2.42.5.1"
              },
              {
                "introduced": "2.43.0"
              },
              {
                "fixed": "2.43.0.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "b8d4ef368ffa769034b36e143551be28a671c12c"
            },
            {
              "last_affected": "3009509e8358b3c01815b48358e62492d3ae78d8"
            },
            {
              "introduced": "46bc579ffb84f0679f0ebe5cf0dcfc42c981333a"
            },
            {
              "fixed": "555afac60bf6d35310f497024d59983cdd515012"
            },
            {
              "introduced": "614ec1c82ba21bb356ed71e83a8d1b6f7dde62cf"
            },
            {
              "fixed": "07c4d071a9a44fa344f469a526b45da9bed37d5a"
            },
            {
              "introduced": "4bc649ee714c0ec0e3cfeea32557252e9e22644f"
            },
            {
              "fixed": "9d7f88a940e6e5ee766767424306fb11cb4a1f2b"
            },
            {
              "introduced": "0c543cc7776403b5cd9345ed8bc8f82543fbefe5"
            },
            {
              "fixed": "58a531e163ddeefed47904841240ee436b247703"
            }
          ],
          "repo": "https://github.com/dhis2/dhis2-core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pwmg-mvjw-4m23"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55084.json"
  },
  "details": "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",
  "id": "CVE-2026-55084",
  "modified": "2026-07-23T03:56:31.957421948Z",
  "published": "2026-07-21T18:30:09.057Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55084.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/dhis2/dhis2-core/security/advisories/GHSA-pwmg-mvjw-4m23"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55084"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dhis2/dhis2-core/pull/24162"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "SQL Injection in SqlView Filter Parameter Leading to Arbitrary Database Read"
}