{"answers":{"affected":"4 open source packages ship an affected version, including ca.uhn.hapi.fhir:org.hl7.fhir.core and ca.uhn.hapi.fhir:org.hl7.fhir.utilities. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34359 exists.","fix":"Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.core to 6.9.4 or later.","what":"CVE-2026-34359 is a high-severity vulnerability in hapifhir org.hl7.fhir.core, published on 31 Mar 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-34359 and fix it if it is affected.\n\nWhat it is: CVE-2026-34359 is a high-severity vulnerability in hapifhir org.hl7.fhir.core, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34359 exists.\n\nAffected packages and fixed versions:\n- ca.uhn.hapi.fhir:org.hl7.fhir.core (Maven): affected all versions; fixed in 6.9.4\n- ca.uhn.hapi.fhir:org.hl7.fhir.core (Maven): affected all versions; fixed in 6.9.4\n- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): affected all versions; fixed in 6.9.4\n- ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): affected all versions; fixed in 6.9.4\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-34359/ (Markdown: https://insights.sbomify.com/CVE-2026-34359/index.md)","id":"CVE-2026-34359","markdown":"https://insights.sbomify.com/CVE-2026-34359/index.md","name":"CVE-2026-34359","record":{"aliases":["GHSA-fgv2-4q4g-wc35","ROOT-APP-MAVEN-CVE-2026-34359"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Java FHIR library","requires_auth":"none","summary":"Attackers can steal authentication credentials by exploiting improper URL prefix matching during HTTP redirects in the HAPI FHIR library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"hl7_fhir_core","vendor":"hapifhir"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"description":"HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to version 6.9.4, ManagedWebAccessUtils.getServer() uses String.startsWith() to match request URLs against configured server URLs for authentication credential dispatch. Because configured server URLs (e.g., http://tx.fhir.org) lack a trailing slash or host boundary check, an attacker-controlled domain like http://tx.fhir.org.attacker.com matches the prefix and receives Bearer tokens, Basic auth credentials, or API keys when the HTTP client follows a redirect to that domain. This issue has been patched in version 6.9.4.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"HAPI FHIR: Authentication Credential Leakage via Improper URL Prefix Matching on HTTP Redirect in HAPI FHIR Core","id":"CVE-2026-34359","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"HAPI FHIR: Unauthenticated Blind SSRF via /loadIG Endpoint Enables Internal Network Probing","id":"CVE-2026-34360"},"packages":[{"ecosystem":"Maven","fixed":["6.9.4"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.core","purl":null,"source":"GHSA-fgv2-4q4g-wc35"},{"ecosystem":"Maven","fixed":["6.9.4"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.core","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.core","source":"GHSA-fgv2-4q4g-wc35"},{"ecosystem":"Maven","fixed":["6.9.4"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","purl":null,"source":"GHSA-fgv2-4q4g-wc35"},{"ecosystem":"Maven","fixed":["6.9.4"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.utilities","source":"GHSA-fgv2-4q4g-wc35"}],"prev":{"headline":"CtrlPanel: Missing Authorization on Admin Write Endpoints Allows RBAC Bypass","id":"CVE-2026-34358"},"products":["org.hl7.fhir.core"],"published":"2026-03-31","related":[{"cvss_score":9.3,"headline":"HAPI FHIR: Unauthenticated SSRF via /loadIG Chains with startsWith() Credential Leak for Authentication Token Theft","id":"CVE-2026-34361","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"HAPI FHIR: XXE in XsltUtilities.saxonTransform via unhardened Saxon TransformerFactory","id":"CVE-2026-55471","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":8.1,"headline":"MITM based Zip Slip in `ca.uhn.hapi.fhir:org.hl7.fhir.core`","id":"CVE-2023-24057","kev_date_added":null,"published":"2023-01-24"},{"cvss_score":7.5,"headline":"HAPI FHIR: DSTU2 FHIRPathEngine.matches() missing RegexTimeout protection allows ReDoS","id":"CVE-2026-55470","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":7.5,"headline":"HL7 FHIR Partial Path Zip Slip due to bypass of CVE-2023-24057","id":"CVE-2023-28465","kev_date_added":null,"published":"2023-12-12"},{"cvss_score":5.8,"headline":"HAPI FHIR: Unauthenticated Blind SSRF via /loadIG Endpoint Enables Internal Network Probing","id":"CVE-2026-34360","kev_date_added":null,"published":"2026-03-31"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-31","vendors":["hapifhir"]},"summary":"Attackers can steal authentication credentials by exploiting improper URL prefix matching during HTTP redirects in the HAPI FHIR library.","url":"https://insights.sbomify.com/CVE-2026-34359/"}