# CVE-2023-31138: DHIS2 Core vulnerable to Improper Access Control with PATCH requests

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2023-05-09T14:11:11.868Z
- Modified: 2026-06-17T05:56:21.680Z
- Weaknesses: CWE-284, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

DHIS2 Core contains the service layer and Web API for DHIS2, an information system for data capture. Starting in the 2.36 branch and prior to versions 2.37.9.1, 2.38.3.1, and 2.39.1.2, using object model traversal in the payload of a PATCH request, authenticated users with write access to an object may be able to modify related objects that they should not have access to. DHIS2 implementers should upgrade to a supported version of DHIS2 to receive a patch: 2.37.9.1, 2.38.3.1, or 2.39.1.2. It is possible to work around this issue by blocking all PATCH requests on a reverse proxy, but this may cause some issues with the functionality of built-in applications using legacy PATCH requests.

(As written by CVE List.)

## Affected

- dhis2 dhis2-core: >= 2.36, < 2.37.9.1; >= 2.38, < 2.38.3.1; >= 2.39, < 2.39.1.2
- dhis2 dhis_2: from 2.36.0 before 2.37.9.1; from 2.38.0 before 2.38.3.1; from 2.39.0 before 2.39.1.2

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/dhis2/dhis2-core/security/advisories/GHSA-pwvw-4m67-f4g2> (third-party-advisory)
- <https://github.com/dhis2/dhis2-releases/blob/master/releases/2.37/ReleaseNote-2.37.9.1.md> (release-notes)
- <https://github.com/dhis2/dhis2-releases/blob/master/releases/2.38/ReleaseNote-2.38.3.1.md> (release-notes)
- <https://github.com/dhis2/dhis2-releases/blob/master/releases/2.39/ReleaseNote-2.39.1.2.md> (release-notes)

## Sources

- CVE List: [CVE-2023-31138](https://www.cve.org/CVERecord?id=CVE-2023-31138), CVE Terms of Use, modified 2025-01-28
- NVD: [CVE-2023-31138](https://nvd.nist.gov/vuln/detail/CVE-2023-31138), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-31138 · Whole record: https://cve.day/CVE-2023-31138.json · Rebuilt by cve.day 2026-11-25T22:58:24.005Z
