CVE-2026-33180
JSON

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 packageVersionsReported by
hapifhir org.hl7.fhir.core< 6.9.0CVE List
ca.uhn.hapi.fhir-org.hl7.fhir.coreNot specifiedCVE List
org.hl7.fhir.convertorsNot specifiedCVE List
org.hl7.fhir.validationNot specifiedCVE List
org.hl7.fhir.validation.cliNot specifiedCVE List
ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven)before 6.9.0GitHub Advisory Database
ca.uhn.hapi.fhir:org.hl7.fhir.convertors (Maven)before 6.9.0GitHub Advisory Database
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven)before 6.9.0GitHub Advisory Database
ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven)before 6.9.0GitHub Advisory Database
ca.uhn.hapi.fhir:org.hl7.fhir.dstu3.support (Maven)before 6.9.0GitHub Advisory Database
ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven)before 6.9.0GitHub Advisory Database
ca.uhn.hapi.fhir:org.hl7.fhir.model (Maven)before 6.9.0GitHub Advisory Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
redhat-SADP8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-200CWE-201

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2026-33180 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-p7m9-v2cm-2h7m changed 2026-03-25CC-BY-4.0
NVDCVE-2026-33180 changed 2026-07-15Public domain