Security mailing lists by PureSourceCode

CVE-2026-34359

CRITICAL 9.1CVSS 3.1

HAPI 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hapifhir hl7_fhir_core
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.