bahmni/bahmni-core · Security
Bahmni-Core: Path traversal enables arbitrary file write via admin CSV import
- GHSA ID
- GHSA-pmw7-2mfv-4592
- CVE ID
- CVE-2026-63194
- Severity
- high
- Published
- Updated
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Description
Impact
Insufficient validation of input paths during the admin CSV import process allows for potential arbitrary file write.
Patches
Patches should be applied to bahmnicore-omod versions 0.93 and above.
Workarounds
- On the ingress-controller or proxy block/restrict access to /openmrs/ws/rest/v1/bahmnicore/admin/upload/* onto trusted IP addresses.
- Until application of the patched version, remove access to Bahmni frontend "Admin Page" and also review list of user access, although the backend API is still exposed.
- Audit Access: Review and restrict access to the Admin CSV import to only essential personnel.
- Monitor Logs: Closely monitor system and application logs for unusual activity, particularly around data-access and file-upload endpoints.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory
References
- https://github.com/Bahmni/bahmni-core/security/advisories/GHSA-pmw7-2mfv-4592 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-63194 ↗
- 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-pmw7-2mfv-4592 ↗