CVE-2026-34359 Details
Description
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.
A vulnerability in HAPI FHIR prior to version 6.9.4 allows for the leakage of authentication credentials, including Bearer tokens, Basic auth credentials, and API keys. The issue arises in the 'ManagedWebAccessUtils.getServer()' method, which uses 'String.startsWith()' to match request URLs against configured server URLs for authentication. Due to the lack of a trailing slash or host boundary check, an attacker-controlled domain can match the prefix of a legitimate server URL and intercept credentials when the HTTP client follows a redirect to that domain. This vulnerability affects any deployment that configures server authentication in 'fhir-settings.json' and makes outbound HTTP requests to terminology servers.
Users are advised to update to HAPI FHIR version 6.9.4 or later, and to ensure that FHIR server URLs are configured correctly with trailing slashes. Additionally, consider reintroducing host-equality checks for redirects to prevent credential leakage.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-fgv2-4q4g-wc35 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-fgv2-4q4g-wc35 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-346 | Origin Validation Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hapifhir hl7 fhir core | < 6.9.4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 3, 2026 | Initial Analysis | [email protected] |
| Mar 31, 2026 | CVE Modified | CISA-ADP |
| Mar 31, 2026 | New CVE Received | [email protected] |