The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-46218

CVE-2023-46218: Haxx Curl Information Disclosure Flaw

CVE-2023-46218 is an information disclosure vulnerability in Haxx Curl that allows malicious servers to set super cookies across unrelated domains. This article covers technical details, affected versions, and mitigations.

Published: February 11, 2026

CVE-2023-46218 Overview

CVE-2023-46218 is a cookie injection vulnerability in curl that allows malicious HTTP servers to set "super cookies" that are passed back to more origins than normally permitted. This flaw enables a site to set cookies that would then be sent to different and unrelated sites and domains, effectively bypassing cookie security boundaries.

The vulnerability exploits a mixed case flaw in curl's function that verifies a given cookie domain against the Public Suffix List (PSL). For example, a cookie could be set with domain=co.UK when the URL used a lowercase hostname curl.co.uk, even though co.uk is listed as a PSL domain. This case sensitivity issue allows attackers to circumvent the PSL protections designed to prevent such broad cookie scoping.

Critical Impact

Malicious servers can set cookies with overly broad domain scope, enabling cross-site tracking, session hijacking, and potential credential theft across unrelated websites sharing the same top-level domain suffix.

Affected Products

  • haxx curl (multiple versions)
  • fedoraproject fedora 39
  • Debian Linux (see DSA-5587)

Discovery Timeline

  • 2023-12-07 - CVE CVE-2023-46218 published to NVD
  • 2025-06-30 - Last updated in NVD database

Technical Details for CVE-2023-46218

Vulnerability Analysis

This vulnerability stems from improper case handling during Public Suffix List (PSL) validation in curl's cookie processing logic. The PSL is a critical security mechanism that prevents websites from setting cookies on public suffixes like .com, .co.uk, or other shared domain registries. When curl receives a Set-Cookie header, it should validate that the cookie domain doesn't match a PSL entry to prevent "super cookies" that could track users across unrelated websites.

The flaw allows an attacker-controlled HTTP server to bypass this protection by using mixed-case domain values in the Set-Cookie header. Since the PSL comparison function failed to perform case-insensitive matching, a domain like co.UK (uppercase) would not match the lowercase co.uk entry in the PSL, allowing the cookie to be set despite the security restriction.

Root Cause

The root cause is a case sensitivity issue (CWE-178: Improper Handling of Case Sensitivity) in curl's PSL domain validation function. The function performs a direct string comparison between the cookie domain and PSL entries without normalizing the case of both strings. Since domain names are case-insensitive according to DNS specifications but the PSL check was case-sensitive, attackers could exploit this mismatch to set cookies with broader scope than intended.

Attack Vector

The attack can be executed remotely over the network without requiring authentication or user interaction. An attacker would need to control or compromise an HTTP server that a victim's curl-based application connects to. The attack flow is as follows:

  1. Victim's application using curl connects to attacker-controlled server
  2. Server responds with a Set-Cookie header using a mixed-case domain (e.g., domain=co.UK)
  3. curl's PSL validation fails to match the mixed-case domain against the lowercase PSL entry
  4. The "super cookie" is stored and subsequently sent to all sites under that domain suffix
  5. Attacker can harvest cookies from other sites the victim visits under the same suffix

This vulnerability affects applications that rely on curl's cookie handling, including command-line curl usage with cookie jars and applications using libcurl for HTTP requests.

Detection Methods for CVE-2023-46218

Indicators of Compromise

  • Unusual cookies with overly broad domain scopes in curl cookie jars or application cookie stores
  • HTTP responses containing Set-Cookie headers with mixed-case domain attributes targeting public suffixes
  • Unexpected cookie data being sent to multiple unrelated domains during curl requests
  • Log entries showing cookies being transmitted to domains that don't match the original cookie source

Detection Strategies

  • Monitor HTTP traffic for Set-Cookie headers with mixed-case domain attributes matching known PSL entries
  • Implement network-level inspection rules to flag cookies with suspiciously broad domain scopes
  • Review application logs for curl-based requests that exhibit abnormal cookie behavior
  • Deploy endpoint detection to identify vulnerable curl versions in use across the environment

Monitoring Recommendations

  • Enable verbose logging in curl-based applications to capture full HTTP headers including Set-Cookie directives
  • Configure web proxies to alert on Set-Cookie headers with domain attributes matching public suffixes in any case combination
  • Implement periodic vulnerability scanning to identify systems running affected curl versions
  • Monitor for anomalous cross-domain cookie sharing patterns in network traffic analysis tools

How to Mitigate CVE-2023-46218

Immediate Actions Required

  • Update curl to a patched version as specified in the CURL CVE-2023-46218 Documentation
  • Review and clear existing cookie jars that may contain malicious super cookies
  • Implement application-level cookie validation as an additional security layer
  • Consider disabling cookie handling in curl for applications where cookies are not required

Patch Information

Security patches addressing this vulnerability have been released by curl and multiple Linux distributions. Organizations should consult the following resources for version-specific patch information:

  • CURL CVE-2023-46218 Documentation - Official curl security advisory with fixed versions
  • Debian Security Advisory DSA-5587 - Debian package updates
  • Fedora Package Announcements - Fedora updates
  • NetApp Security Advisory NTAP-20240125-0007 - NetApp product updates

Workarounds

  • Disable cookie handling entirely using --no-cookies or -b "" when cookie functionality is not required
  • Implement application-level cookie domain validation with proper case-insensitive PSL checking before processing
  • Use network-level filtering to strip or reject Set-Cookie headers with mixed-case domain attributes
  • Consider running curl with restricted network access to limit exposure to potentially malicious servers
bash
# Disable cookie handling in curl commands
curl --no-cookies https://example.com

# Clear existing cookie jar to remove potentially malicious cookies
rm ~/.curl_cookies

# Use explicit cookie scope restrictions in applications
curl -b "" -c "" https://example.com

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechHaxx Curl

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.43%

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

  • CWE-178
  • Technical References
  • Debian LTS Security Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory NTAP-20240125-0007

  • Debian Security Advisory DSA-5587
  • Vendor Resources
  • CURL CVE-2023-46218 Documentation

  • HackerOne Report #2212193
  • Related CVEs
  • CVE-2026-3783: Haxx Curl Information Disclosure Vulnerability

  • CVE-2023-46219: Haxx Curl Information Disclosure Flaw

  • CVE-2024-11053: Haxx Curl Information Disclosure Flaw

  • CVE-2024-2398: Haxx Curl Information Disclosure Flaw
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