CVE-2026-34359
CRITICAL 9.1CVSS 3.1HAPI FHIR Core has Authentication Credential Leakage via Improper URL Prefix Matching on HTTP Redirect
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.
- Published
- 31 Mar 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-346
- Also known as
- GHSA-fgv2-4q4g-wc35
- Sources
- NVDJSONOSV GHSA-fgv2-4q4g-wc35JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hapifhir | hl7_fhir_corecpe:2.3:a:hapifhir:hl7_fhir_core:*:*:*:*:*:*:*:* |
< 6.9.4 | 6.9.4 |
| OSV | Maven | ca.uhn.hapi.fhir:org.hl7.fhir.core | < 6.9.4 | 6.9.4 |
| OSV | Maven | ca.uhn.hapi.fhir:org.hl7.fhir.utilities | < 6.9.4 | 6.9.4 |
References
- https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-fgv2-4q4g-wc35 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-34359 · ADVISORY
- https://github.com/hapifhir/org.hl7.fhir.core · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Mar 2026)