HAPI FHIR HTTP authentication leak in redirects
Impact
When setting headers in HTTP requests, the internal HTTP client sends headers first to the host in the initial URL but also, if asked to follow redirects and a 30X HTTP response code is returned, to the host mentioned in URL in the Location: response header value.
Sending the same set of headers to subsequent hosts is a problem as this header often contains privacy sensitive information or data that could allow others to impersonate the client's request.
Patches
This issue has been patched in release 6.8.3
Workarounds
None.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.convertors | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.dstu3.support | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.model | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.r4 | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.r4b | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.r5 | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.utilities | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.validation | < 6.9.0 | 6.9.0 |
| Java / Kotlin (Maven) | ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli | < 6.9.0 | 6.9.0 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-200- Platform
- Java / Kotlin (Maven)
- Package
ca.uhn.hapi.fhir:org.hl7.fhir.convertors, ca.uhn.hapi.fhir:org.hl7.fhir.dstu2, ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may- Disclosed
- 18.03.2026
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-p7m9-v2cm-2h7m - CC BY 4.0
Vulnerability history: ca.uhn.hapi.fhir:org.hl7.fhir.convertors
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 01.2023 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 3
Disclosures per year
- 2023: 2
- 2024: 1
- 2025: 0
- 2026: 2
-
HAPI FHIR HTTP authentication leak in redirects this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.