Skip to main content

DHIS2 EUVDEUVD-2026-46351

| CVE-2026-55082 HIGH
SQL Injection (CWE-89)
2026-07-21 security-advisories@github.com
8.7
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with SQL View access
  2. Delivery
    Call SQL View data endpoint
  3. Exploit
    Submit crafted filter value
  4. Execution
    Value interpolated into generated SQL
  5. Persist
    Injected query executes on DB
  6. Impact
    Exfiltrate data outside view scope

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated DHIS2 account that holds SQL View execution/read access (PR:L) and the ability to reach a SQL View data endpoint over the network; the specific vector is supplying a crafted filter value that is interpolated into the generated SQL for SQL View filters. Limiting factors: the attacker must already possess a valid account with SQL View access, so deployments that restrict this authority to a small set of trusted administrators are far less exposed; the affected code exists only on 2.37, 2.38 and 2.39 before the 2026-06-09 EOS updates, so patched or later branches are not vulnerable. This is not exploitable pre-authentication and not against configurations where SQL View access is not granted to the attacker.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) indicates a network-reachable, low-complexity attack requiring low privileges and no user interaction, with high impact - consistent with SQL injection reachable by any account holding SQL View execution rights. The PR:L requirement is the key limiting factor: this is not an unauthenticated internet-wide exploit but an authenticated privilege-abuse and data-exfiltration issue, so real-world risk concentrates in environments that grant SQL View access to semi-trusted users. No EPSS score is provided, it is not in CISA KEV, and no POC is referenced, so there is no evidence of active or automated exploitation; the description also frames impact as data access ('potentially access data outside the intended SQL View result set'), which reads as primarily confidentiality even though the vendor rated VI/VA High - treat the write/availability impact as vendor-asserted rather than description-confirmed. Note this CVE is explicitly distinct from CVE-2026-55084 (SQL View filter column-name injection); do not conflate the two.

Exploit ScenarioDerived

An authenticated DHIS2 user who has been granted SQL View execution access invokes a SQL View data endpoint and supplies a crafted filter value that breaks out of the intended query, causing the interpolated SQL to return rows outside the view's intended result set. Because the attack is over the network with low complexity and no user interaction, the attacker can iteratively probe filters to enumerate and exfiltrate data from other tables. No public POC is referenced in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 21, 2026

SQL injection in DHIS2 SQL View data endpoints lets an authenticated user with SQL View execution access supply crafted filter values that are interpolated directly into the generated SQL, allowing them to read data outside the intended SQL View result set. It affects release lines 2.37, 2.38 and 2.39 prior to the 2026-06-09 End-of-Support security updates and carries a vendor CVSS 4.0 score of 8.7 (High). There is no public exploit identified at time of analysis and it is not listed in CISA KEV; the fix reworks filter handling to use parameterized placeholders instead of string interpolation.

RemediationAI

Apply the 2026-06-09 EOS security updates for the 2.37, 2.38 or 2.39 line as applicable, or upgrade to a later supported DHIS2 branch that already includes the value-slot parameterization from DHIS2-20174 / PR #22253; consult GHSA-3288-cm98-664f (https://github.com/dhis2/dhis2-core/security/advisories/GHSA-3288-cm98-664f) and the referenced pull requests (22253, 24172, 24173, 24174) for exact backport commits. Where patching must be deferred, restrict SQL View execution authority by revoking the SQL View execution/read authorities from non-administrative users so only fully trusted operators can run views (trade-off: reporting users relying on SQL Views lose that capability), and audit existing SQL Views and access logs for anomalous filter parameters indicating exfiltration attempts. Running the application database account with least privilege (read-only, scoped to required schemas) limits blast radius but may break legitimate write-oriented views.

Affected VersionsENISA

dhis2-core = 2.39
dhis2-core = 2.38
dhis2-core = 2.37

Affected Packages

euvd dhis2_core no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DHIS2 is a widely used open-source health information platform for data capture, validation, analytics and visualization. The SQL View feature lets privileged users define and run stored SQL queries; the affected code path (DefaultSqlViewService.parseFilters / getFilterQuery / getSqlForView in dhis-service-administration) built the WHERE clause by concatenating user-supplied filter values into the SQL string. This is a classic CWE-89 SQL Injection root cause: untrusted input crossing into a SQL statement without parameterization. The remediation (PR #22253, DHIS2-20174) refactors the value slots to return a PlaceholderQueryWithArgs structure, passing bound arguments (Object[] args) through populateSqlViewGrid so filter values are supplied as JDBC bind parameters rather than interpolated text.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Requires an authenticated account with SQL View access (PR:L) reachable over the network at low complexity; description shows data disclosure beyond scope (C:H), with limited integrity and no clear availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

DHIS2 is a flexible information system for data capture, management, validation, analytics and visualization. DHIS2 SQL View data endpoints allowed authenticated users with SQL View access to provide crafted filter values that were interpolated into generated SQL. An authenticated user with access to SQL View execution could manipulate SQL generated for SQL View filters and potentially access data outside the intended SQL View result set.

This is distinct from CVE-2026-55084, which tracks the related SQL View filter column-name injection.

Known affected release lines for this advisory: DHIS2 2.37, 2.38, and 2.39 before the 2026-06-09 EOS security updates. Patched by the 2026-06-09 EOS security updates for 2.37, 2.38, and 2.39. The same value-slot hardening was already present on later supported branches through DHIS2-20174 / PR #22253.

Executive ViewAI

Why It Matters

DHIS2 health information systems in versions 2.37-2.39 contain a SQL injection vulnerability enabling authenticated users to bypass security controls and access patient data beyond their authorized scope. This exposes healthcare organizations to data breaches, regulatory violations, and privacy incidents affecting sensitive health records.

Business Impact: High
Compensating Controls

Restrict SQL View execution permissions to essential authorized users only; implement strict input validation on all filter values; monitor and audit SQL View execution activity for anomalies; disable unused SQL Views; implement database activity monitoring to detect suspicious queries; apply principle of least privilege to underlying database service accounts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
widely deployed global-health platform, sector-specific not enterprise-ubiquitous
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy