{"answers":{"affected":"2 open source packages ship an affected version, including ca.uhn.hapi.fhir:org.hl7.fhir.validation. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34361 exists.","fix":"Upgrade ca.uhn.hapi.fhir:org.hl7.fhir.validation to 6.9.4 or later.","what":"CVE-2026-34361 is a critical server-side request forgery 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-34361 and fix it if it is affected.\n\nWhat it is: CVE-2026-34361 is a critical server-side request forgery 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-34361 exists.\n\nAffected packages and fixed versions:\n- ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven): affected all versions; fixed in 6.9.4\n- ca.uhn.hapi.fhir:org.hl7.fhir.validation (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-34361/ (Markdown: https://insights.sbomify.com/CVE-2026-34361/index.md)","id":"CVE-2026-34361","markdown":"https://insights.sbomify.com/CVE-2026-34361/index.md","name":"CVE-2026-34361","record":{"aliases":["GHSA-vr79-8m62-wh98","ROOT-APP-MAVEN-CVE-2026-34361"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java FHIR library","requires_auth":"none","summary":"Attackers can exploit an unauthenticated SSRF endpoint and a credential matching flaw to steal authentication tokens from configured FHIR servers.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"hl7_fhir_core","vendor":"hapifhir"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to version 6.9.4, the FHIR Validator HTTP service exposes an unauthenticated \"/loadIG\" endpoint that makes outbound HTTP requests to attacker-controlled URLs. Combined with a startsWith() URL prefix matching flaw in the credential provider (ManagedWebAccessUtils.getServer()), an attacker can steal authentication tokens (Bearer, Basic, API keys) configured for legitimate FHIR servers by registering a domain that prefix-matches a configured server URL. 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: Unauthenticated SSRF via /loadIG Chains with startsWith() Credential Leak for Authentication Token Theft","id":"CVE-2026-34361","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"AVideo's WebSocket Token Never Expires Due to Commented-Out Timeout Validation in verifyTokenSocket()","id":"CVE-2026-34362"},"packages":[{"ecosystem":"Maven","fixed":["6.9.4"],"introduced":["0"],"last_affected":[],"package":"ca.uhn.hapi.fhir:org.hl7.fhir.validation","purl":null,"source":"GHSA-vr79-8m62-wh98"},{"ecosystem":"Maven","fixed":["6.9.4"],"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-vr79-8m62-wh98"}],"prev":{"headline":"HAPI FHIR: Unauthenticated Blind SSRF via /loadIG Endpoint Enables Internal Network Probing","id":"CVE-2026-34360"},"products":["org.hl7.fhir.core"],"published":"2026-03-31","related":[{"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":7.4,"headline":"HAPI FHIR: Authentication Credential Leakage via Improper URL Prefix Matching on HTTP Redirect in HAPI FHIR Core","id":"CVE-2026-34359","kev_date_added":null,"published":"2026-03-31"},{"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-31","vendors":["hapifhir"]},"summary":"Attackers can exploit an unauthenticated SSRF endpoint and a credential matching flaw to steal authentication tokens from configured FHIR servers.","url":"https://insights.sbomify.com/CVE-2026-34361/"}