Skip to main content

Bahmni bahmnicore CVE-2026-15477

| EUVDEUVD-2026-43199 LOW
SQL Injection (CWE-89)
2026-07-12 VulDB GHSA-8g7p-3ghx-xx9x
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege Bahmni credentials
  2. Delivery
    Send crafted HTTP request to /openmrs/ws/rest/v1/bahmnicore/sql
  3. Exploit
    Inject SQL payload via additionalParams test argument
  4. Execution
    Execute arbitrary SQL against OpenMRS database backend
  5. Impact
    Exfiltrate or tamper with patient and clinical records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid low-privilege authenticated session within the Bahmni application (PR:L per CVSS 4.0 vector) - unauthenticated external exploitation is not possible. The /openmrs/ws/rest/v1/bahmnicore/sql Search Endpoint must be reachable from the attacker's network position (AV:N), which is satisfied by any internet-exposed or internally accessible Bahmni instance. No special configuration beyond a standard Bahmni deployment is required - the additionalParams function and Search Endpoint are present in default installations of all affected versions up to 0.93. Exploitation is bounded by the authentication requirement: obtaining valid credentials (via phishing, credential stuffing, or insider access) is the primary prerequisite. No user interaction from a victim is needed beyond the attacker's own request, and no elevated or administrative privileges are required.

Impact

The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N) scores 5.3 with all impact dimensions rated Low - a moderate severity - but the E:P supplemental metric (proof-of-concept exploit exists) elevates operational risk materially. No CISA KEV listing is present, so active widespread exploitation is not confirmed at time of analysis. EPSS data was not provided, limiting probabilistic exploitation forecasting. The low C/I/A ratings may understate actual risk: SQL injection in healthcare EHRs commonly permits broader data access than vendor-assessed impact ratings suggest, depending on database-level access controls and schema scope reachable through the injection point. The authentication requirement (PR:L) is a meaningful barrier - unauthenticated external exploitation is not possible - but the user population of a healthcare system is often large and credentials are relatively easy to obtain through phishing or credential stuffing. The combination of network exploitability, a public exploit, and a healthcare data store should drive this above queue-order prioritization despite a sub-6.0 base score.

Exploit ScenarioDerived

A low-privileged Bahmni user - such as a healthcare worker, data entry clerk, or patient registration staff member with standard application credentials - sends a crafted HTTP GET or POST request to /openmrs/ws/rest/v1/bahmnicore/sql with a malicious SQL fragment embedded in the additionalParams test argument. Because public proof-of-concept exploit code exists, this requires minimal technical skill and can be executed with basic HTTP tooling. The injected SQL executes against the OpenMRS database backend, potentially exposing patient records, clinical histories, provider credentials, or other sensitive data stored in the system.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 12, 2026

SQL injection in Bahmni bahmnicore up to version 0.93 allows low-privileged authenticated remote attackers to manipulate backend database queries via the additionalParams argument at the /openmrs/ws/rest/v1/bahmnicore/sql Search Endpoint. Public exploit code exists (confirmed by E:P in CVSS 4.0 supplemental metrics and the CVE description), lowering the bar for exploitation to any user with valid application credentials. Fixed versions spanning all active release branches (0.93.1 through 2.0.1) were released July 2026, and organizations running affected versions in healthcare environments should prioritize patching given the sensitivity of stored patient and clinical data.

RemediationAI

The primary fix is to upgrade bahmnicore to the patched version matching the currently deployed release branch: 0.93.1, 1.0.1, 1.1.1, 1.2.1, 1.3.1, or 2.0.1. Full patch release notes are available at https://bahmni.atlassian.net/wiki/spaces/BAH/pages/5519474693/Bahmni+Security+Patch+July+02+2026+Release+Notes and the security advisory at https://github.com/Bahmni/bahmni-core/security/advisories/GHSA-cg9w-r5g6-cxq5. If immediate patching is not feasible, restrict access to the /openmrs/ws/rest/v1/bahmnicore/sql endpoint via WAF rules or reverse-proxy ACLs - note that this may impact legitimate search functionality and should be tested against workflows before enforcing. Additionally, limiting which roles and user accounts have access to the Search Endpoint reduces the attack surface; this does not eliminate the underlying vulnerability but narrows the pool of accounts that can trigger it. Enforcing multi-factor authentication for Bahmni user accounts further limits the viability of credential-based attack paths while a patch is being staged.

Affected VersionsENISA

bahmnicore 0.32
bahmnicore 0.84
bahmnicore 0.64
bahmnicore 0.19
bahmnicore 0.80
bahmnicore 0.7
bahmnicore 0.66
bahmnicore 0.74
bahmnicore 0.2
bahmnicore 0.70
bahmnicore 0.8
bahmnicore 0.83
bahmnicore 0.23
bahmnicore 0.37
bahmnicore 0.41
bahmnicore 0.52
bahmnicore 0.24
bahmnicore 0.28
bahmnicore 0.90
bahmnicore 0.47
bahmnicore 0.20
bahmnicore 0.31
bahmnicore 0.15
bahmnicore 0.91
bahmnicore 0.26
bahmnicore 0.72
bahmnicore 0.30
bahmnicore 0.38
bahmnicore 0.44
bahmnicore 0.9
bahmnicore 0.69
bahmnicore 0.62
bahmnicore 0.75
bahmnicore 0.17
bahmnicore 0.6
bahmnicore 0.59
bahmnicore 0.40
bahmnicore 0.29
bahmnicore 0.16
bahmnicore 0.34
bahmnicore 0.14
bahmnicore 0.86
bahmnicore 0.12
bahmnicore 0.60
bahmnicore 0.46
bahmnicore 0.4
bahmnicore 0.49
bahmnicore 0.33
bahmnicore 0.85
bahmnicore 0.57
bahmnicore 0.21
bahmnicore 0.36
bahmnicore 0.22
bahmnicore 0.18
bahmnicore 0.61
bahmnicore 0.45
bahmnicore 0.73
bahmnicore 0.25
bahmnicore 0.81
bahmnicore 0.42
bahmnicore 0.51
bahmnicore 0.3
bahmnicore 0.65
bahmnicore 0.35
bahmnicore 0.53
bahmnicore 0.39
bahmnicore 0.76
bahmnicore 0.11
bahmnicore 0.88
bahmnicore 0.50
bahmnicore 0.58
bahmnicore 0.55
bahmnicore 0.48
bahmnicore 0.82
bahmnicore 0.5
bahmnicore 0.78
bahmnicore 0.10
bahmnicore 0.92
bahmnicore 0.93
bahmnicore 0.87
bahmnicore 0.56
bahmnicore 0.68
bahmnicore 0.89
bahmnicore 0.77
bahmnicore 0.71
bahmnicore 0.79
bahmnicore 0.67
bahmnicore 0.1
bahmnicore 0.43
bahmnicore 0.63
bahmnicore 0.54
bahmnicore 0.27
bahmnicore 0.13

Affected Packages

maven org.bahmni.module:bahmnicore-omod fix: 0.93.1, 2.0.1
euvd bahmnicore no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Bahmni is an open-source electronic health record (EHR) platform built on top of OpenMRS, primarily deployed in low-resource healthcare settings across developing regions. The vulnerable component, bahmnicore (CPE: cpe:2.3:a:bahmni:bahmnicore:*:*:*:*:*:*:*:*), exposes a SQL execution endpoint at /openmrs/ws/rest/v1/bahmnicore/sql that accepts a test argument passed through the additionalParams function. CWE-89 (SQL Injection) identifies the root cause as user-controlled input being incorporated directly into a SQL query without parameterization or proper sanitization. Because the endpoint is accessible via REST API over the network and does not require elevated privileges, any authenticated session is sufficient to deliver the injection payload. The OpenMRS backend database typically stores patient demographics, clinical notes, diagnoses, and medication histories, making a successful injection consequential beyond the moderate CVSS base score.

Know when Bahmnicore gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 6.3 MEDIUM

Network-reachable REST endpoint, no attack complexity, low-privilege authentication required; SQL injection impact conservatively scored Low across C/I/A consistent with vendor CVSS 4.0 assessment.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jul 12, 2026 - 05:22 NVD
MEDIUM LOW
CVSS changed
Jul 12, 2026 - 05:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche open-source EHR deployed primarily in low-resource healthcare settings
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy