{"answers":{"affected":"32 open source packages ship an affected version, including ca.uhn.hapi.fhir:org.hl7.fhir.dstu2, ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may and ca.uhn.hapi.fhir:org.hl7.fhir.dstu3.","exploited":"There is no known exploitation of CVE-2026-49485 in the wild and no public exploit code.","fix":"Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 to a fixed version for your release line: 6.9.4.2 or 6.9.9.","what":"CVE-2026-49485 is a high-severity denial of service vulnerability in hapifhir org.hl7.fhir.core, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49485 and fix it if it is affected.\n\nWhat it is: CVE-2026-49485 is a high-severity denial of service vulnerability in hapifhir org.hl7.fhir.core, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-49485 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven): affected all versions; fixed in 6.9.4.2\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven): affected all versions; fixed in 6.9.4.2\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven): affected from 6.9.5; fixed in 6.9.9\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven): affected from 6.9.5; fixed in 6.9.9\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): affected all versions; fixed in 6.9.4.2\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): affected all versions; fixed in 6.9.4.2\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): affected from 6.9.5; fixed in 6.9.9\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): affected from 6.9.5; fixed in 6.9.9\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): affected all versions; fixed in 6.9.4.2\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): affected all versions; fixed in 6.9.4.2\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): affected from 6.9.5; fixed in 6.9.9\n- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): affected from 6.9.5; fixed in 6.9.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49485/ (Markdown: https://insights.sbomify.com/CVE-2026-49485/index.md)","id":"CVE-2026-49485","markdown":"https://insights.sbomify.com/CVE-2026-49485/index.md","name":"CVE-2026-49485","record":{"aliases":["GHSA-7cmj-v6x8-frvv","ROOT-APP-MAVEN-CVE-2026-49485"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java FHIR library","requires_auth":"none","summary":"An attacker can cause denial of service in HAPI FHIR applications by submitting malicious regular expressions in FHIRPath expressions.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"HAPI FHIR: ReDoS via FHIRPath matches()/replaceMatches() in FHIR Validator HTTP Endpoint","id":"CVE-2026-49485","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":32,"n_references":6,"next":{"headline":"Apache Airflow FTP provider: FTP Provider does not protect FTPS data channel (missing PROT_P)","id":"CVE-2026-49486"},"packages":[{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2016may","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu2016may","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu3","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.dstu3","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.dstu3","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4b","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r4b","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r4b","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r5","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.r5","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.r5","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.validation","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.validation","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.4.2"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.validation.cli","source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","purl":null,"source":"GHSA-7cmj-v6x8-frvv"},{"ecosystem":"Maven","fixed":["6.9.9"],"introduced":["6.9.5"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.validation.cli","source":"GHSA-7cmj-v6x8-frvv"}],"prev":{"headline":"Code for IBM i: Temporary files are visible to all users","id":"CVE-2026-49484"},"products":["org.hl7.fhir.core"],"published":"2026-07-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-20","vendors":["hapifhir"]},"summary":"An attacker can cause denial of service in HAPI FHIR applications by submitting malicious regular expressions in FHIRPath expressions.","url":"https://insights.sbomify.com/CVE-2026-49485/"}