GHSA-cg9w-r5g6-cxq5

Suggest an improvement
Source
https://github.com/advisories/GHSA-cg9w-r5g6-cxq5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-cg9w-r5g6-cxq5/GHSA-cg9w-r5g6-cxq5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cg9w-r5g6-cxq5
Aliases
Published
2026-12-01T17:22:16Z
Modified
2026-12-01T17:30:03Z
Severity
  • Invalid Severity Rating CVSS_V4 - 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/
Summary
Bahmni Core High Risk Patient Search is Vulnerable to SQL Injection
Details

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.
Database specific
{
    "cwe_ids":  [
        "CWE-89"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-01T17:22:16Z",
    "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-cg9w-r5g6-cxq5/GHSA-cg9w-r5g6-cxq5.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-cg9w-r5g6-cxq5/GHSA-cg9w-r5g6-cxq5.json"