Advisory record · GHSA-jjgj-cx3q-pw4w

OpenMRS ModuleResourcesServlet has Path Traversal that Leads to Arbitrary File Read

CVSS 8.2 HighEPSS 0.0056 · 46th percentile

Published by the GitHub Advisory Database at 4 May 2026, 17:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.openmrs.web:openmrs-webMaven<=2.7.8 || >=2.8.0, <2.8.62.8.6
Identifiers
GHSA-jjgj-cx3q-pw4w · CVE-2026-40075
Weakness (CWE)
CWE-22
Published
4 May 2026
Updated
8 May 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Path traversal in the OpenMRS Core package org.openmrs.web:openmrs-web affects versions 2.7.8 and earlier, and 2.8.0 before 2.8.6. The ModuleResourcesServlet endpoint does not validate user-supplied paths, so an unauthenticated attacker can read arbitrary files on the server, such as configuration files containing database credentials. The source says exploitation requires Apache Tomcat older than 8.5.31. Upgrade to version 2.8.6.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.2 High 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0056, the 46th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.