GHSA-pmw7-2mfv-4592

Suggest an improvement
Source
https://github.com/advisories/GHSA-pmw7-2mfv-4592
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-pmw7-2mfv-4592/GHSA-pmw7-2mfv-4592.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pmw7-2mfv-4592
Aliases
Published
2026-12-01T17:30:00Z
Modified
2026-12-01T17:45:07Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Bahmni-Core: Path traversal enables arbitrary file write via admin CSV import
Details

Impact

Insufficient validation of input paths during the admin CSV import process allows for potential arbitrary file write.

Patches

Patches should be applied to bahmnicore-omod versions 0.93 and above.

Workarounds

  1. On the ingress-controller or proxy block/restrict access to /openmrs/ws/rest/v1/bahmnicore/admin/upload/* onto trusted IP addresses.
  2. Until application of the patched version, remove access to Bahmni frontend "Admin Page" and also review list of user access, although the backend API is still exposed.
  3. Audit Access: Review and restrict access to the Admin CSV import to only essential personnel.
  4. Monitor Logs: Closely monitor system and application logs for unusual activity, particularly around data-access and file-upload endpoints.
Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-01T17:30:00Z",
    "nvd_published_at":  "2026-11-11T03:16:52Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven / org.bahmni.module:bahmnicore-omod

Package

Name
org.bahmni.module:bahmnicore-omod
View open source insights on deps.dev
Purl
pkg:maven/org.bahmni.module/bahmnicore-omod

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.93.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-pmw7-2mfv-4592/GHSA-pmw7-2mfv-4592.json"

Maven / org.bahmni.module:bahmnicore-omod

Package

Name
org.bahmni.module:bahmnicore-omod
View open source insights on deps.dev
Purl
pkg:maven/org.bahmni.module/bahmnicore-omod

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.0.0
Fixed
2.0.1

Affected versions

1.*
1.0.0
1.0.1
1.1.0
1.1.1
1.2.0
1.2.1
1.3.0
1.3.1
2.*
2.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-pmw7-2mfv-4592/GHSA-pmw7-2mfv-4592.json"