CVE-2026-63192: Bahmnicore omod SQL Injection Vulnerability

HIGH
Advisory Identifier: GHSA-cg9w-r5g6-cxq5
CWE-89
Published
Advisory Summary

CVE-2026-63192 is a HIGH sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Bahmnicore omod libraries in the Maven ecosystem. The issue involves bahmni core high risk patient search is vulnerable to sql injection. Remediation is available by upgrading affected packages to version 0.93.1, 2.0.1.

CVE-2026-63192 at a Glance

CVE Identifier CVE-2026-63192
GHSA Identifier GHSA-cg9w-r5g6-cxq5
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Bahmnicore omod
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-63192

To remediate this vulnerability, upgrade all affected Bahmnicore omod 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-63192, 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 Bahmnicore omod 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-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Bahmnicore omod, 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 An attacker with authenticated access could potentially exfiltrate sensitive data from the database. Attack demonstrates read-only access to sensitive data. Although no data is returned, attacker can use techniques like boolean blind and error based exfil to identify patient data. ### Patches Should be applied to bahmnicore-omod 0.93 and above. ### Workarounds 1. If a particular implementation is not using the "High Risk Patients" search query, then remove the global property "emrapi.sqlSearch.highRiskPatients". 2. If deployment is done only targeted users within a specific network, restrict access only for trusted IP addresses. 3. Audit Access: Review and restrict access to the SQL Search to only essential personnel. 4. Monitor Logs: Closely monitor system and application logs for unusual activity, particularly around data-access.

CVE-2026-63192 Affected Bahmnicore omod 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-63192?
CVE-2026-63192 is a security vulnerability in Bahmnicore omod involving Bahmni Core High Risk Patient Search is Vulnerable to SQL Injection under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Bahmnicore omod 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-63192?
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-63192?
CVE-2026-63192 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check Maven dependencies for CVE-2026-63192?
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-cg9w-r5g6-cxq5",
  "modified" : "2026-12-01T17:22:16Z",
  "published" : "2026-12-01T17:22:16Z",
  "aliases" : [ "CVE-2026-63192" ],
  "summary" : "Bahmni Core High Risk Patient Search is Vulnerable to SQL Injection",
  "details" : "### Impact\nAn attacker with authenticated access could potentially exfiltrate sensitive data from the database. Attack demonstrates read-only access to sensitive data. Although no data is returned, attacker can use techniques like boolean blind and error based exfil to identify patient data.  \n\n\n### Patches\nShould be applied to bahmnicore-omod 0.93 and above.\n\n### Workarounds\n1. If a particular implementation is not using the \"High Risk Patients\" search query, then remove the global property \"emrapi.sqlSearch.highRiskPatients\".\n2. If deployment is done only targeted users within a specific network, restrict access only for trusted IP addresses.\n3. Audit Access: Review and restrict access to the SQL Search to only essential personnel.\n4. Monitor Logs: Closely monitor system and application logs for unusual activity, particularly around data-access.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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-cg9w-r5g6-cxq5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-63192"
  }, {
    "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-89" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-01T17:22:16Z",
    "nvd_published_at" : "2026-11-11T03:16:52Z"
  }
}