← Vulnerability feed

Vulnerability record · CVE-2018-19276 · published 21 March 2019

CVE-2018-19276: OpenMRS insecure XML deserialization allows unauthenticated RCE

Openmrs · Openmrs

OpenMRS before 2.24.0 deserializes untrusted XML data from request bodies without adequate validation, exposing an insecure object deserialization flaw (CWE-502). Because the request is processed before authentication, a remote attacker can trigger it without credentials, and the CVSS 3.1 base score is 9.8 (critical).

9.8 CVSS 3.1 Critical EPSS 99% · top 0.1% CWE-502 · Deserialization of untrusted data
9.8CVSS 3.1 base score, v2 10.0
99%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

OpenMRS before 2.24.0 is affected by an Insecure Object Deserialization vulnerability that allows an unauthenticated user to execute arbitrary commands on the targeted system via crafted XML data in a request body.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution with a 9.8 CVSS score, public exploit code and a 99.9th percentile EPSS probability make this an urgent patch target.

What it is

OpenMRS before 2.24.0 deserializes untrusted XML data from request bodies without adequate validation, exposing an insecure object deserialization flaw (CWE-502). Because the request is processed before authentication, a remote attacker can trigger it without credentials, and the CVSS 3.1 base score is 9.8 (critical).

Impact

An attacker can execute arbitrary commands on the OpenMRS server, gaining full control of the host and any data it processes. With C/I/A all rated High, confidentiality, integrity and availability of the platform are fully compromised.

Attack surface

Reachable over the network via a crafted XML request body sent to the OpenMRS application; the CVSS vector shows PR:N and UI:N, so no authentication or user interaction is required.

Exploitation

Public exploit code exists (Exploit-DB 46327 and Packet Storm advisories tagged Exploit), and EPSS is 0.98714 (99.9th percentile), indicating very high likelihood of exploitation. The CVE is not listed in CISA KEV, so no confirmed in-the-wild activity is recorded here.

What to do

  • Upgrade OpenMRS to 2.24.0 or later, which the vendor advisory identifies as the fixed release.
  • If immediate upgrade is not possible, restrict network access to the OpenMRS web interface to trusted hosts and place it behind an authenticating reverse proxy.
  • Disable or block XML request bodies at the edge where the application does not require them, and reject unexpected content types.
  • Monitor the vendor advisory thread for interim guidance and apply any supplied hotfixes.
  • Run the OpenMRS service with least privilege and isolate it from sensitive internal networks to limit post-exploitation reach.

Detection

  • Inspect web and application logs for POST requests with XML bodies to OpenMRS endpoints, especially from unexpected source IPs.
  • Alert on outbound connections or child processes spawned by the OpenMRS Java process, which may indicate command execution.
  • Use the public Exploit-DB and Packet Storm proof-of-concept payloads to build IDS/IPS signatures for the deserialization request pattern.
  • Baseline normal OpenMRS request content types and flag XML submissions that deviate from expected usage.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-19276 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-43094Openmrs sql injection vulnerabilityAn SQL Injection vulnerability exists in OpenMRS Reference Application Standalone Edition <=2.11 and Platform Standalone Edition <=2.4.0 via GET requ…EPSS 1.3%9.8CVE-2017-12796Openmrs deserialization of untrusted data vulnerabilityThe Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate user…EPSS 4.2%9.4CVE-2026-40076Openmrs path traversal vulnerabilityOpenMRS Core is an open source electronic medical record system platform. In versions 2.7.8 and earlier and versions 2.8.0 through 2.8.5, the module …EPSS 0.90%8.2CVE-2026-40075Openmrs path traversal vulnerabilityOpenMRS Core is an open source electronic medical record system platform. In versions 2.7.8 and earlier and versions 2.8.0 through 2.8.5, the `/openm…EPSS 0.72%8.0CVE-2025-25928Openmrs cross-site request forgery vulnerabilityA Cross-Site Request Forgery (CSRF) in the component /admin/users/user.form of Openmrs 2.4.3 Build 0ff0ed allows attackers to execute arbitrary opera…EPSS 0.28%7.5CVE-2022-23612Openmrs path traversal vulnerabilityOpenMRS is a patient-based medical record system focusing on giving providers a free customizable electronic medical record system. Affected versions…EPSS 1.9%6.8CVE-2025-25927Openmrs cross-site request forgery vulnerabilityA Cross-Site Request Forgery (CSRF) in Openmrs 2.4.3 Build 0ff0ed allows attackers to execute arbitrary operations via a crafted GET request.EPSS 0.26%6.8CVE-2014-8073Openmrs cross-site request forgery vulnerabilityCross-site request forgery (CSRF) vulnerability in OpenMRS 2.1 Standalone Edition allows remote attackers to hijack the authentication of administrat…EPSS 1.1%

Source: NIST National Vulnerability Database (record CVE-2018-19276), CISA KEV, FIRST EPSS (scores of 2026-09-22). This page is refreshed as NVD updates the record.