Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.3

CVE-2026-34361: HAPI FHIR allows attackers to steal authentication tokens

CVE-2026-34361 · published 8 months ago
Summary

The FHIR Validator in HAPI FHIR versions before 6.9.4 exposes a /loadIG function that anyone can call, causing the server to reach out to any web address the attacker chooses. By tricking the server into contacting a domain that looks similar to a trusted FHIR endpoint, an attacker can capture stored authentication credentials such as bearer tokens, basic passwords, or API keys. Upgrade to version 6.9.4 or later to close the issue.

What to do
  • Update uhn ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.9.4.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.9.0-root.io.2.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.9.0-root.io.3.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.9.0-root.io.4.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.7.9-root.io.1.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.7.9-root.io.2.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.9.0-root.io.6.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.7.9-root.io.5.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.9.0-root.io.7.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.7.9-root.io.6.
  • Update uhn ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.7.9-aikido.6.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.9.0-root.io.10.
  • Update uhn ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.9.0-aikido.10.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.4.0-root.io.1.
  • Update uhn ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.4.0-aikido.1.
  • Update root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.4.0-root.io.2.
  • Update uhn ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.4.0-aikido.2.
  • Update ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.4.0-aikido.2.
  • Update io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.4.0-root.io.2.
  • Update ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.0.1-aikido.4.
  • Update io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation to version 6.0.1-root.io.4.
  • Update hapifhir hl7_fhir_core to version 6.9.4 or later.
Affected software
Ecosystem VendorProductAffected versions
maven uhn ca.uhn.hapi.fhir:org.hl7.fhir.validation < 6.9.4
Fix: upgrade to 6.9.4
Root:Maven root io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation < 6.9.0-root.io.2
< 6.9.0-root.io.3
< 6.9.0-root.io.4
< 6.7.9-root.io.1
< 6.7.9-root.io.2
< 6.9.0-root.io.6
< 6.7.9-root.io.5
< 6.9.0-root.io.7
< 6.7.9-root.io.6
< 6.9.0-root.io.10
< 6.4.0-root.io.1
< 6.4.0-root.io.2
Fix: upgrade to 6.9.0-root.io.2
Root:Maven uhn ca.uhn.hapi.fhir:org.hl7.fhir.validation < 6.7.9-aikido.6
< 6.9.0-aikido.10
< 6.4.0-aikido.1
< 6.4.0-aikido.2
Fix: upgrade to 6.7.9-aikido.6
Root:Maven – ca.uhn.hapi.fhir:org.hl7.fhir.validation < 6.4.0-aikido.2
< 6.0.1-aikido.4
Fix: upgrade to 6.4.0-aikido.2
Root:Maven – io.root.ca.uhn.hapi.fhir:org.hl7.fhir.validation < 6.4.0-root.io.2
< 6.0.1-root.io.4
Fix: upgrade to 6.4.0-root.io.2
– hapifhir hl7_fhir_core < 6.9.4
cpe:2.3:a:hapifhir:hl7_fhir_core:*:*:*:*:*:*:*:*
Original advisory text
HAPI FHIR: Unauthenticated SSRF via /loadIG Chains with startsWith() Credential Leak for Authentication Token Theft
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.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker partial control
Severity
9.3 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-522Insufficiently Protected Credentials
CWE-552Files or Directories Accessible to External Parties
Timeline
Published31 Mar 2026
Updated26 Nov 2026
First seen30 Mar 2026
Track software like this
Free during beta