CVE-2026-63194: Bahmni-Core Path Traversal Vulnerability

HIGH
Advisory Identifier: GHSA-pmw7-2mfv-4592
CWE-22
Published
Advisory Summary

CVE-2026-63194 is a HIGH path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Bahmni-Core libraries in the Maven ecosystem. The issue involves path traversal enables arbitrary file write via admin csv import. Remediation is available by upgrading affected packages to version 0.93.1, 2.0.1.

CVE-2026-63194 at a Glance

CVE Identifier CVE-2026-63194
GHSA Identifier GHSA-pmw7-2mfv-4592
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Bahmni-Core
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-63194

To remediate this vulnerability, upgrade all affected Bahmni-Core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.bahmni.module:bahmnicore-omod fixed: 0.93.1
<dependency>
    <groupId>org.bahmni.module</groupId>
    <artifactId>bahmnicore-omod</artifactId>
    <version>0.93.1</version>
</dependency>
org.bahmni.module:bahmnicore-omod fixed: 2.0.1
<dependency>
    <groupId>org.bahmni.module</groupId>
    <artifactId>bahmnicore-omod</artifactId>
    <version>2.0.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.bahmni.module

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-63194, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.bahmni.module

Analyze the terminal output to locate any version of Bahmni-Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.93.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.bahmni.module command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Bahmni-Core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-63194 Affected Bahmni-Core Versions

2 component(s)
Fixed Versions:
0.93.12.0.1
Product / Package Ecosystem Affected Versions Fixed Version
org.bahmni.module:bahmnicore-omod
Maven
< 0.93.1
0.93.1
org.bahmni.module:bahmnicore-omod
Maven
≥ 1.0.0
< 2.0.1
2.0.1

References

Frequently Asked Questions

What is CVE-2026-63194?
CVE-2026-63194 is a security vulnerability in Bahmni-Core involving Path traversal enables arbitrary file write via admin CSV import under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Bahmni-Core versions are affected?
Affected versions include releases prior to 0.93.1, 2.0.1 across affected packages: org.bahmni.module:bahmnicore-omod.
What version fixes CVE-2026-63194?
Upgrading to 0.93.1, 2.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is bahmnicore-omod affected?
Yes, org.bahmni.module:bahmnicore-omod is affected in releases prior to 0.93.1, 2.0.1. Upgrade your dependency to 0.93.1, 2.0.1 or later.
What CWE is associated with CVE-2026-63194?
CVE-2026-63194 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check Maven dependencies for CVE-2026-63194?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.bahmni.module'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-pmw7-2mfv-4592",
  "modified" : "2026-12-01T17:30:00Z",
  "published" : "2026-12-01T17:30:00Z",
  "aliases" : [ "CVE-2026-63194" ],
  "summary" : "Bahmni-Core: Path traversal enables arbitrary file write via admin CSV import",
  "details" : "### Impact\nInsufficient validation of input paths during the admin CSV import process allows for potential arbitrary file write.\n\n### Patches\nPatches should be applied to bahmnicore-omod versions 0.93 and above.\n\n### Workarounds\n1. On the ingress-controller or proxy block/restrict access to /openmrs/ws/rest/v1/bahmnicore/admin/upload/* onto trusted IP addresses. \n2. 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. \n3. Audit Access: Review and restrict access to the Admin CSV import to only essential personnel. \n4. Monitor Logs: Closely monitor system and application logs for unusual activity, particularly around data-access and file-upload endpoints.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bahmni.module:bahmnicore-omod"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.93.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.bahmni.module:bahmnicore-omod"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "2.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Bahmni/bahmni-core/security/advisories/GHSA-pmw7-2mfv-4592"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-63194"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Bahmni/bahmni-core/commit/74a33668784ead3e41ce20c0146f21375ddb9ad2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Bahmni/bahmni-core/commit/e1fd8f04799ddfa434b60c0146deb487ef70d335"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Bahmni/bahmni-core"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Bahmni/bahmni-core/releases/tag/0.93.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Bahmni/bahmni-core/releases/tag/2.0.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-01T17:30:00Z",
    "nvd_published_at" : "2026-11-11T03:16:52Z"
  }
}