Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-41258 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

OpenMRS is an open source electronic medical record system platform. From 2.7.0 to before 2.7.9 and 2.8.6, the ConceptReferenceRangeUtility.evaluateCriteria() method in OpenMRS Core evaluates database-stored criteria strings as Apache Velocity templates without any sandbox configuration. The VelocityEngine is initialized with only logging properties and noSecureUberspector, leaving the default UberspectImpl in place, which allows unrestricted Java reflection through template expressions. A user with the Manage Concepts privilege can store a malicious Velocity template expression in a concept's reference range criteria field. This payload is then executed automatically whenever a user or API call validates an observation against the affected concept. The Velocity context exposes $patient (the Person / Patient object), $obs (the Obs object), and $fn (the ConceptReferenceRangeUtility instance with access to the full OpenMRS service layer). This vulnerability is fixed in 2.7.9 and 2.8.6.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-94Improper Control of Generation of Code ('Code Injection')[email protected]

Affected Products

ProductVersions
OpenMRS
>= 2.7.0, < 2.7.9 (semver)
>= 2.8.0, < 2.8.6 (semver)

CPE

  • cpe:2.3:a:openmrs:openmrs:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 2.7.9moderate effort
  • Upgrade: 2.8.6moderate effort
  • Workaround:low effort

    Restrict the Manage Concepts privilege to authorized users and audit ConceptReferenceRanges in the database.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-41258
NVD Published Date:
May 15, 2026
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2026-41258 Details - Not Deferred