bahmni/bahmni-core · Security
Bahmni-Core: High Risk Patient Search is Vulnerable to SQL Injection
- GHSA ID
- GHSA-cg9w-r5g6-cxq5
- CVE ID
- CVE-2026-63192
- Severity
- high
- Published
- Updated
- CVSS v4
- 7.1 · 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/
Description
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
- If a particular implementation is not using the "High Risk Patients" search query, then remove the global property "emrapi.sqlSearch.highRiskPatients".
- If deployment is done only targeted users within a specific network, restrict access only for trusted IP addresses.
- Audit Access: Review and restrict access to the SQL Search to only essential personnel.
- Monitor Logs: Closely monitor system and application logs for unusual activity, particularly around data-access.
CWEs
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command
References
- https://github.com/Bahmni/bahmni-core/security/advisories/GHSA-cg9w-r5g6-cxq5 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-63192 ↗
- https://github.com/Bahmni/bahmni-core/commit/74a33668784ead3e41ce20c0146f21375ddb9ad2 ↗
- https://github.com/Bahmni/bahmni-core/commit/e1fd8f04799ddfa434b60c0146deb487ef70d335 ↗
- https://github.com/Bahmni/bahmni-core/releases/tag/0.93.1 ↗
- https://github.com/Bahmni/bahmni-core/releases/tag/2.0.1 ↗
- https://github.com/advisories/GHSA-cg9w-r5g6-cxq5 ↗