7.5high
HAPI FHIR HTTP authentication leak in redirects
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-p7m9-v2cm-2h7m
Description
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to version 6.9.0, 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. This issue has been patched in release 6.9.0. No known workarounds are available.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| hapifhir org.hl7.fhir.core | < 6.9.0 | CVE List |
| ca.uhn.hapi.fhir-org.hl7.fhir.core | Not specified | CVE List |
| org.hl7.fhir.convertors | Not specified | CVE List |
| org.hl7.fhir.validation | Not specified | CVE List |
| org.hl7.fhir.validation.cli | Not specified | CVE List |
| ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.dstu3.support (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.model (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.validation (Maven) | before 6.9.0 | GitHub Advisory Database |
| ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli (Maven) | before 6.9.0 | GitHub Advisory Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| redhat-SADP | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to version 6.9.0, 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. This issue has been patched in release 6.9.0. No known workarounds are available.
GitHub Advisory Database
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.
NVD (es)
HAPI FHIR es una implementación completa del estándar HL7 FHIR para la interoperabilidad sanitaria en Java. Antes de la versión 6.9.0, al establecer encabezados en las solicitudes HTTP, el cliente HTTP interno envía los encabezados primero al host en la URL inicial, pero también, si se le pide que siga redireccionamientos y se devuelve un código de respuesta HTTP 30X, al host mencionado en la URL en el valor del encabezado de respuesta Location:. Enviar el mismo conjunto de encabezados a hosts subsiguientes es un problema, ya que este encabezado a menudo contiene información sensible a la privacidad o datos que podrían permitir a otros suplantar la solicitud del cliente. Este problema ha sido parcheado en la versión 6.9.0. No se conocen soluciones alternativas disponibles.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33180 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p7m9-v2cm-2h7m changed 2026-03-25 | CC-BY-4.0 |
| NVD | CVE-2026-33180 changed 2026-07-15 | Public domain |