
PEACH
Un cadre d’isolation des locataires
CVE-2026-49485 is a Regular Expression Denial-of-Service (ReDoS) vulnerability in the org.hl7.fhir.core library, affecting all FHIRPathEngine implementations across multiple HAPI FHIR Maven packages. The vulnerability allows unauthenticated remote attackers to cause Denial-of-Service by submitting resources containing malicious regex patterns that trigger catastrophic backtracking in Java's regex engine. It was first published on June 1, 2026 by maintainer dotasek and added to the GitHub Advisory Database on July 9, 2026. Affected packages include ca.uhn.hapi.fhir:org.hl7.fhir.dstu2, dstu2016may, dstu3, r4, r4b, r5, validation, and validation.cli, all versions ≤ 6.9.8. The CVSS v3.1 base score is 7.5 (High) (GitHub Advisory, HAPI FHIR Advisory).
The root cause is classified as CWE-400 (Uncontrolled Resource Consumption) and CWE-1333 (Inefficient Regular Expression Complexity). The FHIRPath functions matches(), matchesFull(), and replaceMatches() pass user-controlled regular expressions directly to Java's Pattern.compile() and String.replaceAll() via a utility class intended to enforce a timeout. However, the timeout mechanism only cancelled the executor thread externally — the thread itself had no interrupt-aware logic and continued executing. Additionally, three code modules contained FHIRPathEngine method calls that bypassed this utility class entirely, leaving them completely unprotected. A crafted pattern such as (a+)+$ evaluated against input like "aaaaaaaaaaaaaaaaaaaaaa!" causes O(2^n) exponential backtracking in Java's NFA-based regex engine (GitHub Advisory, HAPI FHIR Advisory).
Successful exploitation results in complete CPU exhaustion on the affected server, consuming 100% of a CPU core for an effectively unbounded duration when sufficiently long input strings are used. This causes a Denial-of-Service condition for all callers of FHIRPathEngine, potentially rendering FHIR validation services — including the FHIR Validator HTTP Endpoint — unavailable. There is no confidentiality or integrity impact; the vulnerability is limited to availability (GitHub Advisory).
org.hl7.fhir.core versions ≤ 6.9.8, using service discovery tools or by inspecting Maven dependency manifests.matches(), matchesFull(), or replaceMatches() with an evil regex pattern such as (a+)+$."aaaaaaaaaaaaaaaaaaaaaa!" to maximize backtracking depth and CPU consumption.(a+)+, (a|aa)+, (a+)*).java) sustaining near-100% CPU utilization for extended periods without completing; thread dumps showing threads stuck in java.util.regex.Pattern or String.replaceAll() calls.Upgrade all affected ca.uhn.hapi.fhir packages to version 6.9.9 or 6.9.4.2 (backport), which contain fixes for both the incomplete timeout mechanism and the unprotected FHIRPathEngine call sites. Affected packages include org.hl7.fhir.dstu2, dstu2016may, dstu3, r4, r4b, r5, validation, and validation.cli. As a temporary workaround, restrict network access to FHIR Validator HTTP Endpoints to trusted clients only, and consider rate-limiting or input-length restrictions on submitted resources (GitHub Advisory, HAPI FHIR Advisory).
Source: Ce rapport a été généré à l’aide de l’IA
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."