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-2023-28465

CVE-2023-28465: Hapifhir Hl7 Fhir Core Path Traversal Flaw

CVE-2023-28465 is a path traversal vulnerability in HL7 FHIR Core Libraries allowing attackers to copy arbitrary files to certain directories. This post covers technical details, affected versions, and mitigation steps.

Published: February 4, 2026

CVE-2023-28465 Overview

CVE-2023-28465 is a directory traversal vulnerability in the package-decompression feature of HL7 (Health Level 7) FHIR Core Libraries. This vulnerability allows attackers to copy arbitrary files to certain directories by exploiting improper path validation during package extraction. The flaw occurs when an allowed directory name is a substring of an attacker-controlled directory name, enabling unauthorized file writes to unintended locations. This vulnerability represents an incomplete fix for the previously disclosed CVE-2023-24057.

Critical Impact

Attackers can exploit this directory traversal vulnerability to write arbitrary files to sensitive directories, potentially leading to unauthorized data access, configuration manipulation, or further system compromise in healthcare environments using HL7 FHIR implementations.

Affected Products

  • HAPI FHIR HL7 FHIR Core Libraries versions before 5.6.106
  • Healthcare applications implementing HL7 FHIR package decompression functionality
  • Systems using vulnerable versions of the hapifhir:hl7_fhir_core component

Discovery Timeline

  • 2023-12-12 - CVE-2023-28465 published to NVD
  • 2025-05-27 - Last updated in NVD database

Technical Details for CVE-2023-28465

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as directory traversal or path traversal. The flaw resides in the package-decompression functionality of the HL7 FHIR Core Libraries, which processes and extracts healthcare data packages.

The vulnerability stems from an incomplete security fix for CVE-2023-24057. While the original patch attempted to restrict file extraction to allowed directories, the implementation failed to properly validate directory boundaries. Specifically, the validation logic only checks if an allowed directory name appears as a substring within the target path, rather than enforcing strict directory containment.

This allows an attacker to craft malicious package files that, when decompressed, write files to directories outside the intended extraction location. Given that HL7 FHIR libraries are extensively used in healthcare information systems for exchanging patient data and clinical information, exploitation could have significant implications for healthcare data integrity and system security.

Root Cause

The root cause of CVE-2023-28465 is insufficient path validation in the package decompression routine. The original mitigation for CVE-2023-24057 implemented a directory allowlist check, but the substring-based comparison used in this check is fundamentally flawed. When validating whether a target directory is permitted, the code checks if the allowed directory name appears anywhere within the attacker-supplied path, rather than ensuring the path is strictly contained within the allowed directory hierarchy.

For example, if /allowed/path is whitelisted, an attacker could specify a target like /allowed/path_malicious or construct paths that include the allowed string as a component but resolve to entirely different locations.

Attack Vector

The attack vector for this vulnerability is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by crafting a malicious HL7 FHIR package containing specially constructed file paths. When this malicious package is processed by a vulnerable system:

  1. The attacker creates a package with embedded file paths designed to bypass the substring-based directory validation
  2. The victim's system receives and processes the malicious package through normal FHIR data exchange operations
  3. During decompression, the flawed validation logic permits file extraction to unauthorized directories
  4. Arbitrary files are written to attacker-controlled locations, potentially overwriting critical configurations or placing malicious payloads

The vulnerability mechanism exploits the substring matching flaw in path validation. When the decompression function validates target directories, it checks if an allowed directory string (e.g., /safe/directory) exists within the provided path. An attacker can craft paths like /safe/directory/../../../target/location or use directory names that contain the allowed string as a substring to bypass this check.

For detailed technical information about this vulnerability and the incomplete fix, refer to the GitHub Security Advisory and the Smile CDR Statement on CVE-2023-24057.

Detection Methods for CVE-2023-28465

Indicators of Compromise

  • Unexpected files appearing in system directories outside designated FHIR package extraction paths
  • Log entries showing file write operations to directories containing path traversal sequences (../)
  • Presence of files with healthcare-related naming conventions in unauthorized system locations
  • Anomalous directory access patterns during FHIR package processing operations

Detection Strategies

  • Implement file integrity monitoring on critical system directories to detect unauthorized file modifications
  • Monitor application logs for path traversal patterns and suspicious package extraction activities
  • Deploy endpoint detection rules that alert on file write operations from FHIR-related processes to system-critical directories
  • Conduct regular dependency scanning to identify vulnerable versions of hapifhir:hl7_fhir_core in deployed applications

Monitoring Recommendations

  • Enable verbose logging for FHIR package processing operations to capture file extraction paths
  • Implement alerts for any file system operations that resolve to paths outside expected extraction directories
  • Monitor network traffic for incoming FHIR packages from untrusted sources
  • Establish baseline behavior for FHIR library file operations to detect anomalous activity

How to Mitigate CVE-2023-28465

Immediate Actions Required

  • Upgrade HL7 FHIR Core Libraries to version 5.6.106 or later immediately
  • Audit systems for any evidence of exploitation or unauthorized file modifications
  • Review and restrict file system permissions for directories accessible by FHIR processing components
  • Implement network segmentation to limit exposure of systems processing FHIR packages

Patch Information

The vulnerability has been addressed in HL7 FHIR Core Libraries version 5.6.106 and later. Organizations should update their deployments by modifying their dependency configurations to require the patched version. For Maven-based projects, update the hapifhir:hl7_fhir_core dependency to specify version 5.6.106 or higher. Additional information about the security fix can be found in the GitHub Security Advisory.

Workarounds

  • Implement additional file system access controls to restrict write permissions for FHIR processing components to explicitly allowed directories only
  • Deploy a Web Application Firewall (WAF) or input validation layer to inspect and sanitize incoming FHIR packages before processing
  • Run FHIR package processing in a sandboxed environment with limited file system access
  • Disable or restrict the package decompression feature if not required for operations
bash
# Example: Restrict file system permissions for FHIR extraction directory
chmod 700 /var/lib/fhir/packages
chown fhir-service:fhir-service /var/lib/fhir/packages

# Create a dedicated extraction directory with strict permissions
mkdir -p /var/lib/fhir/packages/extract
chmod 750 /var/lib/fhir/packages/extract

# Monitor the extraction directory for unexpected file writes
# Using inotifywait for real-time monitoring
inotifywait -m -r -e create,modify /var/lib/fhir/packages/

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechHapifhir Hl7 Fhir Core

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.55%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory

  • Smile CDR Blog

  • Smile CDR Statement on CVE-2023-24057
  • Related CVEs
  • CVE-2023-24057: HL7 FHIR Core Path Traversal 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