Description
A vulnerability was detected in Bahmni bahmnicore up to 0.93. This affects the function additionalParams of the file /openmrs/ws/rest/v1/bahmnicore/sql of the component Search Endpoint. Performing a manipulation of the argument test results in sql injection. The attack can be initiated remotely. The exploit is now public and may be used. Upgrading to version 0.93.1, 1.0.1, 1.1.1, 1.2.1, 1.3.1 and 2.0.1 mitigates this issue. Upgrading the affected component is recommended.
Published: 2026-07-12
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw exists in the Bahmni Bahmnicore Search Endpoint where the additionalParams function accepts unsanitised user input in the test argument. This defect allows the execution of arbitrary SQL statements, enabling or modify data beyond the intended scope. The weakness is a classic SQL injection, categorized under CWE-74 and CWE-89.

Affected Systems

Bahmni Bahmnicore deployments running any version up to 0.93 are impacted. The advisory recommends updating to 0.93.1, 1.0.1, 1.1.1, 1.2.1, 1.3.1, or 2.0.1 to remove the vulnerability.

Risk and Exploitability

The CVSS base score of 5.3 indicates moderate severity. The EPSS score of less than 1% suggests a low probability of exploitation in the wild. The vulnerability is not listed in CISA's KEV catalog. The likely attack vector is remote: an attacker can trigger the flaw by sending a crafted HTTP request to the /openmrs/ws/rest/v1/bahmnicore/sql endpoint, manipulating the test parameter to inject malicious SQL.

Generated by OpenCVE AI on August 1, 2026 at 11:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Bahmni Bahmnicore to a patched release (0.93.1, 1.0.1, 1.1.1, 1.2.1, 1.3.1, or 2.0.1).
  • Restrict access to the /openmrs/ws/rest/v1/bahmnicore/sql endpoint by configuring network or application firewall rules to allow only trusted IP addresses or roles.
  • Enable detailed logging for the Search Endpoint and set alerts for SQL error messages or abnormal query patterns to detect attempted exploitation.

Generated by OpenCVE AI on August 1, 2026 at 11:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 12 Jul 2026 05:00:00 +0000

Type Values Removed Values Added
Description A vulnerability was detected in Bahmni bahmnicore up to 0.93. This affects the function additionalParams of the file /openmrs/ws/rest/v1/bahmnicore/sql of the component Search Endpoint. Performing a manipulation of the argument test results in sql injection. The attack can be initiated remotely. The exploit is now public and may be used. Upgrading to version 0.93.1, 1.0.1, 1.1.1, 1.2.1, 1.3.1 and 2.0.1 mitigates this issue. Upgrading the affected component is recommended.
Title Bahmni bahmnicore Search Endpoint sql additionalParams sql injection
First Time appeared Bahmni
Bahmni bahmnicore
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:bahmni:bahmnicore:*:*:*:*:*:*:*:*
Vendors & Products Bahmni
Bahmni bahmnicore
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Bahmni Bahmnicore
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-13T19:11:58.891Z

Reserved: 2026-07-11T09:49:25.934Z

Link: CVE-2026-15477

cve-icon Vulnrichment

Updated: 2026-07-13T19:10:47.148Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T11:30:05Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')