What’s Vulnerable › Vulnerabilities
CVE-2026-34361: HAPI FHIR: Unauthenticated SSRF via /loadIG Chains with startsWith() Credential Leak for Authentication Token Theft
- Severity: critical (CVSS 9.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-31 · updated 2026-07-24
- Weakness: CWE-552
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.
Affected products
- hapifhir org.hl7.fhir.core: before 6.9.4 — fixed in 6.9.4
How to fix
Upgrade to a fixed version: hapifhir org.hl7.fhir.core 6.9.4. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-34361 or the next vulnerability affects your stack