Advisory record · GHSA-xj4f-8jjg-vx4q

OpenMRS has Stored Velocity SSTI to RCE via ConceptReferenceRange

CVSS 9.1 CriticalCriticalEPSS 0.0032 · 24th percentile

Critical, because:

  • CVSS score 9.1: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 4 May 2026, 19:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.openmrs.api:openmrs-apiMaven>=2.7.0, <2.7.9 || >=2.8.0, <2.8.62.7.9, 2.8.6
Identifiers
GHSA-xj4f-8jjg-vx4q · CVE-2026-41258
Weakness (CWE)
CWE-94
Published
4 May 2026
Updated
16 May 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

OpenMRS Core (org.openmrs.api:openmrs-api) versions 2.7.0 to before 2.7.9 and 2.8.0 to before 2.8.6 are vulnerable. A user with the Manage Concepts privilege can store a malicious template expression in a concept's reference range criteria, which then runs whenever an observation is validated, allowing arbitrary code execution on the server and access to patient data. Upgrade to 2.7.9 or 2.8.6. The source lists no workaround beyond restricting the Manage Concepts privilege and auditing stored reference ranges.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.1 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0032, the 24th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.