Read the docs
TI-2026-36635 Aliases CVE-2026-49485GHSA-7cmj-v6x8-frvv

HAPI FHIR: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint

Priority MEDIUM 40CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00684 52nd percentileScored 2026-11-07
Fix Partial org.hl7.fhir.core (hapifhir): 6.9.4.2, 6.9.9ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven): 6.9.9, 6.9.4.2+7 more productsRed Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
hapifhirorg.hl7.fhir.corebefore 6.9.4.2; 6.9.5 to before 6.9.96.9.4.2, 6.9.9Patch availableCNA
—ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven)6.9.5 to before 6.9.96.9.9Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven)6.9.5 to before 6.9.96.9.9Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven)6.9.5 to before 6.9.96.9.9Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven)6.9.5 to before 6.9.96.9.9Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven)6.9.5 to before 6.9.96.9.9Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven)6.9.5 to before 6.9.96.9.9Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven)6.9.5 to before 6.9.96.9.9Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli (Maven)6.9.5 to before 6.9.96.9.9Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven)before 6.9.4.26.9.4.2Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven)before 6.9.4.26.9.4.2Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven)before 6.9.4.26.9.4.2Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven)before 6.9.4.26.9.4.2Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven)before 6.9.4.26.9.4.2Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven)before 6.9.4.26.9.4.2Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven)before 6.9.4.26.9.4.2Patch availableGHSA-7cmj-v6x8-frvv
—ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli (Maven)before 6.9.4.26.9.4.2Patch availableGHSA-7cmj-v6x8-frvv
  • org.hl7.fhir.core Vendorhapifhir Affected before 6.9.4.2; 6.9.5 to before 6.9.9 Fixed in 6.9.4.2, 6.9.9 Patch available CNA
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven) Vendor— Affected 6.9.5 to before 6.9.9 Fixed in 6.9.9 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven) Vendor— Affected 6.9.5 to before 6.9.9 Fixed in 6.9.9 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) Vendor— Affected 6.9.5 to before 6.9.9 Fixed in 6.9.9 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) Vendor— Affected 6.9.5 to before 6.9.9 Fixed in 6.9.9 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) Vendor— Affected 6.9.5 to before 6.9.9 Fixed in 6.9.9 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven) Vendor— Affected 6.9.5 to before 6.9.9 Fixed in 6.9.9 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven) Vendor— Affected 6.9.5 to before 6.9.9 Fixed in 6.9.9 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli (Maven) Vendor— Affected 6.9.5 to before 6.9.9 Fixed in 6.9.9 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven) Vendor— Affected before 6.9.4.2 Fixed in 6.9.4.2 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven) Vendor— Affected before 6.9.4.2 Fixed in 6.9.4.2 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) Vendor— Affected before 6.9.4.2 Fixed in 6.9.4.2 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) Vendor— Affected before 6.9.4.2 Fixed in 6.9.4.2 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) Vendor— Affected before 6.9.4.2 Fixed in 6.9.4.2 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven) Vendor— Affected before 6.9.4.2 Fixed in 6.9.4.2 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven) Vendor— Affected before 6.9.4.2 Fixed in 6.9.4.2 Patch available GHSA-7cmj-v6x8-frvv
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli (Maven) Vendor— Affected before 6.9.4.2 Fixed in 6.9.4.2 Patch available GHSA-7cmj-v6x8-frvv

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:hapifhir:hl7_fhir_core:*:*:*:*:*:*:*:*——hapifhir
  • cpe:2.3:a:hapifhir:hl7_fhir_core:*:*:*:*:*:*:*:* Versions — — ·hapifhir

Remediation

  • Fix · CNA org.hl7.fhir.core (hapifhir) Fixed in 6.9.4.2, 6.9.9
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven) Fixed in 6.9.9 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven) Fixed in 6.9.9 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) Fixed in 6.9.9 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) Fixed in 6.9.9 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) Fixed in 6.9.9 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven) Fixed in 6.9.9 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven) Fixed in 6.9.9 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli (Maven) Fixed in 6.9.9 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven) Fixed in 6.9.4.2 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven) Fixed in 6.9.4.2 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) Fixed in 6.9.4.2 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) Fixed in 6.9.4.2 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) Fixed in 6.9.4.2 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven) Fixed in 6.9.4.2 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven) Fixed in 6.9.4.2 Advisory →
  • Fix · GHSA-7cmj-v6x8-frvv ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli (Maven) Fixed in 6.9.4.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Fuse 7AffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel 4 for Quarkus 3AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-49485
  2. 2026-10-03 Alias added: GHSA-7cmj-v6x8-frvv
  3. 2026-10-24 Affected versions changed · Red Hat
  4. 2026-10-24 CVSS score added · Red Hat

References

  • TI-2026-26647 HAPI FHIR: Unauthenticated SSRF via /loadIG Chains with startsWith() Credential Leak for Authentication Token Theft CVSS 3.1CRITICAL 9.3
  • TI-2026-40028 HAPI FHIR: XXE in XsltUtilities.saxonTransform via unhardened Saxon TransformerFactory CVSS 4.0HIGH 8.7
  • TI-2026-26645 HAPI FHIR: Authentication Credential Leakage via Improper URL Prefix Matching on HTTP Redirect in HAPI FHIR Core CVSS 3.1CRITICAL 9.1
  • TI-2026-56488 HAPI FHIR: SHCParser DEFLATE infinite loop causes denial of service CVSS 3.1HIGH 7.5
  • TI-2026-56487 HAPI FHIR: SHCParser unbounded DEFLATE decompression causes denial of service CVSS 3.1HIGH 7.5
  • TI-2026-44485 HAPI FHIR: XHTML narrative parser unbounded recursion causes StackOverflow denial of service CVSS 3.1HIGH 7.5
See all 17 →

Sources