CVE-2026-34359Hapifhir Hl7 Fhir Core
Critical 9.1 No auth needed
Follow: this CVE · Hapifhir · Hapifhir Hl7 Fhir Core We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Mar 31, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-346
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Hl7 Fhir Core.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.core |
< 6.9.4 |
6.9.4 |
— |
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.utilities |
< 6.9.4 |
6.9.4 |
— |
Per OSV / GitHub Advisories (GHSA-fgv2-4q4g-wc35). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hapifhir | hl7_fhir_core | < 6.9.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory