Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34359

CVE-2026-34359: HAPI FHIR Auth Bypass Vulnerability

CVE-2026-34359 is an authentication bypass flaw in HAPI FHIR that allows attackers to intercept credentials through malicious redirects. This article covers technical details, affected versions, and patches.

Published: April 2, 2026

CVE-2026-34359 Overview

HAPI FHIR, a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java, contains a critical credential leakage vulnerability in versions prior to 6.9.4. The vulnerability exists in the ManagedWebAccessUtils.getServer() method, which uses String.startsWith() to match request URLs against configured server URLs for authentication credential dispatch. Due to the lack of a trailing slash or host boundary check on configured server URLs, an attacker-controlled domain can match the prefix and receive sensitive authentication credentials including Bearer tokens, Basic auth credentials, or API keys when the HTTP client follows a redirect.

Critical Impact

Attackers can steal authentication credentials by exploiting improper URL validation in HAPI FHIR, potentially compromising healthcare data systems and gaining unauthorized access to FHIR servers.

Affected Products

  • HAPI FHIR versions prior to 6.9.4
  • Applications using ManagedWebAccessUtils.getServer() for credential dispatch
  • Healthcare systems implementing FHIR interoperability with HAPI FHIR

Discovery Timeline

  • 2026-03-31 - CVE-2026-34359 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34359

Vulnerability Analysis

This vulnerability is classified as CWE-346: Origin Validation Error. The flaw stems from improper origin validation when dispatching authentication credentials to remote servers. The ManagedWebAccessUtils.getServer() method uses a simple string prefix comparison to determine whether a target URL should receive authentication credentials.

The vulnerability is particularly dangerous in healthcare environments where FHIR servers handle sensitive patient data. When an application configures a trusted server URL such as http://tx.fhir.org, the prefix matching logic incorrectly trusts any URL that begins with this string, including attacker-controlled domains like http://tx.fhir.org.attacker.com.

The attack requires the attacker to either control a domain that matches the prefix pattern or redirect the victim's HTTP client to such a domain. Once the client follows the redirect, it will automatically send the configured authentication credentials to the attacker's server.

Root Cause

The root cause is the use of String.startsWith() for URL matching without proper host boundary validation. The configured server URLs lack trailing slashes or explicit host boundary checks, allowing subdomain spoofing attacks. For example, a configured URL http://tx.fhir.org will incorrectly match http://tx.fhir.org.attacker.com because the attacker's domain begins with the trusted prefix.

Attack Vector

The attack exploits the network-accessible credential dispatch mechanism in HAPI FHIR. An attacker can exploit this vulnerability through the following sequence:

  1. Register a domain that begins with a known trusted FHIR server URL (e.g., tx.fhir.org.attacker.com)
  2. Trick or redirect a HAPI FHIR client to make a request to the attacker-controlled domain
  3. The vulnerable prefix matching logic identifies the attacker's domain as trusted
  4. Authentication credentials (Bearer tokens, Basic auth, or API keys) are automatically sent to the attacker
  5. The attacker captures these credentials and can use them to access legitimate FHIR servers

The vulnerability can be triggered through redirect chains, DNS rebinding, or by manipulating FHIR resource references that point to external URLs. See the GitHub Security Advisory for additional technical details.

Detection Methods for CVE-2026-34359

Indicators of Compromise

  • Outbound HTTP requests to domains that closely resemble trusted FHIR servers but with additional subdomain components
  • Authentication credentials appearing in network traffic to unexpected destinations
  • Unusual redirect patterns from trusted FHIR endpoints to external domains
  • Log entries showing credential dispatch to domains matching patterns like trusted-server.attacker.com

Detection Strategies

  • Monitor outbound network connections from HAPI FHIR applications for requests to suspicious domains that match trusted server prefixes
  • Implement network security monitoring to detect credential leakage by inspecting Authorization headers in HTTP requests
  • Deploy application-level logging to track all credential dispatch events from ManagedWebAccessUtils.getServer()
  • Use DNS monitoring to identify newly registered domains that match your trusted FHIR server prefixes

Monitoring Recommendations

  • Configure alerts for HTTP requests containing authentication headers sent to domains not on an explicit allow list
  • Review application logs for redirect chains that terminate at unexpected destinations
  • Monitor for anomalous authentication patterns to your FHIR infrastructure that may indicate compromised credentials
  • Implement network egress filtering to restrict outbound connections from healthcare applications

How to Mitigate CVE-2026-34359

Immediate Actions Required

  • Upgrade HAPI FHIR to version 6.9.4 or later immediately
  • Rotate all authentication credentials (Bearer tokens, API keys, Basic auth passwords) that may have been exposed
  • Review application logs to identify any potential credential exposure to untrusted domains
  • Implement network egress filtering to restrict outbound connections to known trusted FHIR servers

Patch Information

The vulnerability has been patched in HAPI FHIR version 6.9.4. The patch implements proper URL parsing with host boundary validation, ensuring that credentials are only dispatched to exactly matching hosts rather than any URL that begins with the configured prefix. Users should upgrade to version 6.9.4 or later as documented in the GitHub Security Advisory.

Workarounds

  • Configure trusted server URLs with trailing slashes (e.g., http://tx.fhir.org/) to reduce the attack surface
  • Implement network-level controls to restrict outbound connections from HAPI FHIR applications to an explicit allow list of trusted domains
  • Deploy a web application firewall or proxy to inspect and validate outbound requests containing authentication credentials
  • Consider disabling automatic redirect following in HTTP clients where possible
bash
# Example: Update HAPI FHIR dependency in Maven pom.xml
# Update to patched version 6.9.4 or later
# <dependency>
#     <groupId>ca.uhn.hapi.fhir</groupId>
#     <artifactId>hapi-fhir-base</artifactId>
#     <version>6.9.4</version>
# </dependency>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechHapi Fhir

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-346
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34360: HAPI FHIR Validator SSRF Vulnerability

  • CVE-2026-34361: HAPI FHIR SSRF Vulnerability

  • CVE-2026-33180: HAPI FHIR Information Disclosure Flaw

  • CVE-2024-51132: HAPI FHIR XXE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English