CVE-2026-34359
HIGHHAPI FHIR: Authentication Credential Leakage via Improper URL Prefix Matching on HTTP Redirect in HAPI FHIR Core
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-fgv2-4q4g-wc35
Scores
CVSS v3
7.4
EPSS
0.0016
EPSS Percentile
5.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-346
Status
published
Products (4)
ca.uhn.hapi.fhir/org.hl7.fhir.core
0 - 6.9.4Maven
ca.uhn.hapi.fhir/org.hl7.fhir.utilities
0 - 6.9.4Maven
hapifhir/hl7_fhir_core
< 6.9.4
hapifhir/org.hl7.fhir.core
< 6.9.4
Published
Mar 31, 2026
Tracked Since
Mar 31, 2026