ADVISORIES

GitHub Advisory Database

GHSA-p7m9-v2cm-2h7m

HAPI FHIR HTTP authentication leak in redirects

Critical CVE-2026-33180

Details

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 packages

EcosystemPackageAffected versions
Mavenca.uhn.hapi.fhir:org.hl7.fhir.utilities
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.convertors
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.dstu3
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.dstu3.support
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.model
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.r4
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.r4b
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.r5
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.validation
All versions before 6.9.0 (fixed in 6.9.0)
Mavenca.uhn.hapi.fhir:org.hl7.fhir.validation.cli
All versions before 6.9.0 (fixed in 6.9.0)

References