Live threats

All CVEs / hapifhir

CVE-2026-49485hapifhir org.hl7.fhir.core

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jul 17, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1333
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to 6.9.9 and 6.9.4.2, all implementations of FHIRPathEngine accept arbitrary FHIRPath expressions and evaluate them without input validation, and the FHIRPath functions matches(), matchesFull(), and replaceMatches() pass user-controlled regular expressions to Java's Pattern.compile() and String.replaceAll() through an incomplete timeout utility. An attacker can send a resource containing an evil regex pattern that causes catastrophic backtracking, exhausting CPU resources and causing denial of service in the FHIR Validator HTTP endpoint and affected org.hl7.fhir.* modules. This issue is fixed in versions 6.9.9 and 6.9.4.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for org.hl7.fhir.core.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 ≥ 6.9.5 < 6.9.9 6.9.9 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 < 6.9.4.2 6.9.4.2 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may ≥ 6.9.5 < 6.9.9 6.9.9 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may < 6.9.4.2 6.9.4.2 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 ≥ 6.9.5 < 6.9.9 6.9.9 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 < 6.9.4.2 6.9.4.2 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r4 ≥ 6.9.5 < 6.9.9 6.9.9 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r4 < 6.9.4.2 6.9.4.2 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r4b ≥ 6.9.5 < 6.9.9 6.9.9 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r4b < 6.9.4.2 6.9.4.2 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r5 ≥ 6.9.5 < 6.9.9 6.9.9 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.r5 < 6.9.4.2 6.9.4.2 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.validation ≥ 6.9.5 < 6.9.9 6.9.9 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.validation < 6.9.4.2 6.9.4.2 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli ≥ 6.9.5 < 6.9.9 6.9.9 —
Maven ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli < 6.9.4.2 6.9.4.2 —

Per OSV / GitHub Advisories (GHSA-7cmj-v6x8-frvv). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.