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-25725

CVE-2023-25725: HAProxy Auth Bypass Vulnerability

CVE-2023-25725 is an authentication bypass flaw in HAProxy that allows attackers to circumvent access controls through request smuggling. This article covers the technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-25725 Overview

CVE-2023-25725 is a critical HTTP Request Smuggling vulnerability affecting HAProxy, a widely-deployed high-performance TCP/HTTP load balancer. The vulnerability exists in HAProxy's HTTP header parsers, which may accept empty header field names. This behavior can be exploited to truncate the list of HTTP headers, effectively making certain headers disappear after being parsed and processed. This flaw enables attackers to bypass access control mechanisms and potentially compromise backend systems protected by HAProxy.

Critical Impact

This vulnerability allows remote attackers to bypass access controls by exploiting HTTP request smuggling, potentially leading to unauthorized access to protected resources and high-integrity/availability impacts on affected systems.

Affected Products

  • HAProxy versions before 2.7.3
  • HAProxy versions before 2.6.9
  • HAProxy versions before 2.5.12
  • HAProxy versions before 2.4.22
  • HAProxy versions before 2.2.29
  • HAProxy versions before 2.0.31
  • Debian Linux 10.0
  • Debian Linux 11.0

Discovery Timeline

  • 2023-02-14 - CVE-2023-25725 published to NVD
  • 2025-03-20 - Last updated in NVD database

Technical Details for CVE-2023-25725

Vulnerability Analysis

This HTTP Request Smuggling vulnerability (CWE-444) stems from improper handling of HTTP headers in HAProxy's parser. The core issue is that the HTTP header parsers accept empty header field names, which should be rejected according to HTTP specifications. When an attacker crafts a request with empty header field names, the parser truncates the header list, causing subsequent legitimate headers to be silently dropped.

For HTTP/1.0 and HTTP/1.1 traffic, the impact is severe because the headers disappear after being parsed and processed by HAProxy. This means authentication headers, authorization tokens, and access control directives can be stripped from requests before they reach backend servers. For HTTP/2 and HTTP/3, the impact is more limited as the headers disappear before parsing, effectively treating them as if never sent by the client.

Root Cause

The root cause lies in insufficient validation within HAProxy's HTTP header parsing logic. The parser fails to properly reject empty header field names, which violates RFC 7230 (HTTP/1.1 Message Syntax and Routing) specifications. When encountering an empty header name followed by a colon, the parser treats this as a valid header entry and truncates the remaining header list rather than rejecting the malformed request outright.

Attack Vector

The attack is network-based and requires no authentication or user interaction, making it highly accessible to remote attackers. An attacker can exploit this vulnerability by sending specially crafted HTTP requests containing empty header field names to HAProxy. When these requests are processed:

  1. The attacker constructs an HTTP request with an empty header field name (e.g., a lone colon : on a header line)
  2. HAProxy's parser encounters the empty header and truncates subsequent headers
  3. Critical security headers (such as Authorization, X-Forwarded-For, or custom ACL headers) positioned after the malformed header are dropped
  4. The sanitized request reaches the backend server without the expected security headers
  5. Access control mechanisms relying on these headers are effectively bypassed

This enables attackers to circumvent authentication checks, bypass IP-based restrictions, or manipulate request routing when these controls depend on headers that follow the malformed entry.

Detection Methods for CVE-2023-25725

Indicators of Compromise

  • Unusual HTTP requests in HAProxy logs containing malformed or empty header patterns
  • Backend server logs showing requests missing expected security headers that HAProxy should have forwarded
  • Authentication bypass incidents on applications protected by HAProxy
  • Discrepancies between HAProxy access logs and backend application logs indicating header manipulation

Detection Strategies

  • Implement log analysis rules to detect HTTP requests with anomalous header structures or unexpected empty fields
  • Deploy Web Application Firewalls (WAF) configured to block requests containing malformed HTTP headers
  • Enable verbose logging on HAProxy to capture full request header details for forensic analysis
  • Monitor for authentication failures or access anomalies that correlate with unusual traffic patterns through HAProxy

Monitoring Recommendations

  • Correlate HAProxy frontend logs with backend application logs to identify header discrepancies
  • Set up alerts for requests that trigger backend authorization failures despite appearing legitimate at the HAProxy layer
  • Monitor HAProxy version across your infrastructure to ensure patched versions are deployed
  • Implement intrusion detection signatures for HTTP request smuggling patterns

How to Mitigate CVE-2023-25725

Immediate Actions Required

  • Upgrade HAProxy to the fixed versions immediately: 2.7.3, 2.6.9, 2.5.12, 2.4.22, 2.2.29, or 2.0.31 depending on your major version branch
  • Audit HAProxy configurations to identify any access control rules that rely on HTTP headers which could be smuggled
  • Review recent access logs for signs of exploitation attempts or successful bypasses
  • Consider implementing additional backend validation for critical security headers as defense-in-depth

Patch Information

HAProxy has released patched versions across all supported release branches. The fix ensures that empty header field names are properly rejected during parsing. Organizations should upgrade to the following minimum versions based on their deployment:

BranchFixed Version
2.7.x2.7.3
2.6.x2.6.9
2.5.x2.5.12
2.4.x2.4.22
2.2.x2.2.29
2.0.x2.0.31

For detailed patch information, refer to the HAProxy Commit Log Entry. Debian users should consult Debian Security Advisory DSA-5348 and the Debian LTS Announcement for distribution-specific updates.

Workarounds

  • If immediate patching is not possible, implement strict HTTP request validation at upstream devices (firewalls, WAFs) to reject malformed requests
  • Configure backend applications to independently validate critical security headers rather than trusting HAProxy preprocessing
  • Consider temporarily enabling HAProxy's HTTP strict mode configurations if available in your version
  • Implement network segmentation to limit exposure of unpatched HAProxy instances to untrusted traffic
bash
# Check current HAProxy version
haproxy -v

# Example: Upgrade HAProxy on Debian/Ubuntu systems
sudo apt update
sudo apt install --only-upgrade haproxy

# Verify the upgraded version
haproxy -v

# Restart HAProxy to apply the update
sudo systemctl restart haproxy

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechHaproxy

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability27.98%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-Other

  • CWE-444
  • Technical References
  • HAProxy Commit Log Entry

  • Debian LTS Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Debian Security Advisory DSA-5348

  • HAProxy Official Website
  • Related CVEs
  • CVE-2021-40346: HAProxy Auth Bypass Vulnerability

  • CVE-2026-33555: HAProxy HTTP/3 Request Smuggling Flaw

  • CVE-2025-11230: HAProxy Aloha Appliance DoS Vulnerability

  • CVE-2024-45506: HAProxy HTTP/2 DoS 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