{"cve":"CVE-2026-34359","nvd":{"published":"2026-03-31T17:16:31.937","modified":"2026-07-24T20:10:00.147","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-346"],"references":["https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-fgv2-4q4g-wc35","https://github.com/hapifhir/org.hl7.fhir.core/security/advisories/GHSA-fgv2-4q4g-wc35"],"products":["hapifhir:hl7_fhir_core"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-34359","score":0.00164,"percentile":0.05646,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fgv2-4q4g-wc35","url":"https://osv.dev/vulnerability/GHSA-fgv2-4q4g-wc35","summary":"HAPI FHIR Core has Authentication Credential Leakage via Improper URL Prefix Matching on HTTP Redirect","modified":"2026-03-31T19:04:15.554536Z","packages":[{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.core","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.core","ranges":["<6.9.4"],"fixed":["6.9.4"]},{"ecosystem":"Maven","name":"ca.uhn.hapi.fhir:org.hl7.fhir.utilities","purl":"pkg:maven/ca.uhn.hapi.fhir/org.hl7.fhir.utilities","ranges":["<6.9.4"],"fixed":["6.9.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}