CVE-2026-34359: hapifhir org.hl7.fhir.core · Origin Validation Error
Affects hapifhir org.hl7.fhir.coreSource CVE Database V5
Not known to be exploited · CVSS 7.4 High : upgrade to 6.9.4 soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.9.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade hapifhir org.hl7.fhir.core to 6.9.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| hapifhirorg.hl7.fhir.core | Affected
| Fixed in
|
Mavenorg.hl7.fhir.corepkg:maven/org.hl7.fhir.coreOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-34359, organizations should immediately upgrade all instances of HAPI FHIR to version 6.9.4 or later, where the vulnerability has been patched. If upgrading is not immediately feasible, implement strict network-level controls to restrict outbound HTTP redirects and monitor for suspicious redirect patterns that could lead to attacker-controlled domains. Review and harden URL validation logic in any custom integrations or wrappers around HAPI FHIR to ensure host boundaries are properly enforced, avoiding naive prefix matching. Employ robust logging and alerting on authentication credential dispatch events to detect anomalous behavior. Additionally, consider implementing token binding or short-lived tokens to reduce the impact of credential leakage. Conduct thorough security testing and code reviews focusing on origin validation and authentication dispatch mechanisms. Finally, educate developers and administrators about the risks of improper URL validation and the importance of applying vendor patches promptly.
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.