Path traversal in OpenMRS - CVE-2026-40075

 

Path traversal in OpenMRS - CVE-2026-40075

Published: May 4, 2026


Vulnerability identifier: #VU129555
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40075
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to path traversal in ModuleResourcesServlet when handling requests to the /openmrs/moduleResources/{moduleid} endpoint. A remote attacker can send a specially crafted request to disclose sensitive information.

Successful exploitation requires the target deployment to run on Apache Tomcat versions earlier than 8.5.31.


Affected software

OpenMRS

How to mitigate CVE-2026-40075

Install security update from vendor's website.

OpenMRS - addressed in versions 2.8.0, 2.8.6

External References

Related Security Bulletins