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.
Published: 2026-03-31
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Authentication Credential Theft via Unauthenticated SSRF
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises from an unauthenticated endpoint that allows outbound HTTP requests. An attacker can supply a URL that the validator will resolve, causing the system to issue an HTTP request to an attacker‑controlled address. Because the credential provider performs a startsWith() comparison when determining which authentication token to send, a malicious domain that shares a prefix with a legitimate server can trick the validator into sending the token. The stolen token may be a bearer, basic, or API key, giving the attacker full authorization against the target FHIR server. The resulting impact is the disclosure of privileged credentials, which can lead to data breaches, unauthorized data modification, or impersonation of legitimate users.

Affected Systems

The affected product is HAPI FHIR (org.hl7.fhir.core) for all Java releases before version 6.9.4. The flaw may impact any deployment that exposes the Validator HTTP service. In particular, systems using the /loadIG endpoint without authentication and running versions older than 6.9.4 are vulnerable.

Risk and Exploitability

The CVSS score of 9.3 marks the issue as critical. The exploit is unpatched in public releases prior to 6.9.4, yet no EPSS estimate is publicly published. The vulnerability is not listed in CISA’s KEV catalog, but its high severity and lack of requirement for local privileges suggest it is attractive to attackers. An external user can trigger the vulnerability by sending a crafted request to the /loadIG endpoint, which will cause the server to fetch an attacker‑controlled URL, leaking credentials through the upstream request headers. The required conditions are simply network connectivity to the vulnerable FHIR server and an available /loadIG service.

Generated by OpenCVE AI on March 31, 2026 at 18:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the 6.9.4 patch or later to the HAPI FHIR library.
  • If patching is not immediately possible, disable the /loadIG endpoint or require authentication to access it.
  • Restrict outbound HTTP traffic from the FHIR Validator to trusted domains only.
  • Monitor logs for unusual outbound requests or credential leakage.

Generated by OpenCVE AI on March 31, 2026 at 18:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vr79-8m62-wh98 FHIR Validator HTTP service has SSRF via /loadIG Chains with startsWith() Credential Leak for Authentication Token Theft
History

Wed, 01 Apr 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Hapifhir
Hapifhir hl7 Fhir Core
Vendors & Products Hapifhir
Hapifhir hl7 Fhir Core

Tue, 31 Mar 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 31 Mar 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title HAPI FHIR: Unauthenticated SSRF via /loadIG Chains with startsWith() Credential Leak for Authentication Token Theft
Weaknesses CWE-552
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N'}


Subscriptions

Hapifhir Hl7 Fhir Core
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-31T17:24:58.558Z

Reserved: 2026-03-27T13:43:14.368Z

Link: CVE-2026-34361

cve-icon Vulnrichment

Updated: 2026-03-31T17:24:55.698Z

cve-icon NVD

Status : Received

Published: 2026-03-31T17:16:32.923

Modified: 2026-03-31T17:16:32.923

Link: CVE-2026-34361

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-31T20:37:49Z

Weaknesses