{"id":"GHSA-cg9w-r5g6-cxq5","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.","aliases":["CVE-2026-15477","CVE-2026-63192"],"modified":"2026-12-01T17:30:03.766628258Z","published":"2026-12-01T17:22:16Z","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"},"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"}],"affected":[{"package":{"name":"org.bahmni.module:bahmnicore-omod","ecosystem":"Maven","purl":"pkg:maven/org.bahmni.module/bahmnicore-omod"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"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"}},{"package":{"name":"org.bahmni.module:bahmnicore-omod","ecosystem":"Maven","purl":"pkg:maven/org.bahmni.module/bahmnicore-omod"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"2.0.1"}]}],"versions":["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.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"}}],"schema_version":"1.9.2","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/"}]}