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-2024-53990

CVE-2024-53990: AsyncHttpClient Auth Bypass Vulnerability

CVE-2024-53990 is an authentication bypass flaw in AsyncHttpClient (AHC) library where the CookieStore silently replaces user cookies, causing cross-user authentication issues. This article covers technical details, impact, and mitigation.

Published: April 1, 2026

CVE-2024-53990 Overview

The AsyncHttpClient (AHC) library, a widely-used Java library for executing asynchronous HTTP requests, contains a critical authentication bypass vulnerability in its cookie handling mechanism. When making any HTTP request, the automatically enabled and self-managed CookieStore (aka cookie jar) silently replaces explicitly defined Cookies with any that have the same name from the cookie jar. For services that operate with multiple users, this can result in one user's Cookie being used for another user's requests, leading to authentication bypass and potential unauthorized access to sensitive data.

Critical Impact

Multi-user applications using AsyncHttpClient may inadvertently serve requests with cookies belonging to other users, enabling authentication bypass, session hijacking, and unauthorized data access.

Affected Products

  • AsyncHttpClient (AHC) Java library
  • Applications using AHC's auto-managed CookieStore feature
  • Multi-user services relying on explicit cookie definitions

Discovery Timeline

  • 2024-12-02 - CVE CVE-2024-53990 published to NVD
  • 2024-12-02 - Last updated in NVD database

Technical Details for CVE-2024-53990

Vulnerability Analysis

This vulnerability is classified under CWE-287 (Improper Authentication). The flaw resides in how the AsyncHttpClient library handles cookie management during HTTP request construction. The CookieStore, which is enabled by default, maintains a persistent collection of cookies across requests. When developers explicitly set cookies on a request—such as session tokens or authentication credentials—the library's addOrReplaceCookie() method unconditionally overwrites these with matching cookies from the internal cookie jar.

In multi-tenant or multi-user environments where a single AHC instance handles requests for different users, this behavior creates a dangerous condition where User A's authentication cookies could be silently substituted with User B's cookies from a previous request. The attack surface is network-accessible, meaning any application exposed over a network that uses the vulnerable cookie handling pattern is potentially affected.

Root Cause

The root cause lies in the DefaultAsyncHttpClient.java implementation, specifically in the request building phase where cookies from the CookieStore are processed. The original implementation used addOrReplaceCookie() which unconditionally replaces cookies by name, regardless of whether the developer had explicitly set that cookie for the current request. This design flaw fails to distinguish between developer-specified cookies that should take precedence and cached cookies from the cookie jar.

Attack Vector

The attack vector is network-based, though exploitation requires specific application conditions. An attacker can exploit this vulnerability in applications where:

  1. A shared AsyncHttpClient instance serves multiple users
  2. The application explicitly sets user-specific cookies (e.g., session tokens)
  3. The CookieStore retains cookies from previous requests

When these conditions are met, a timing-based attack or concurrent request scenario could cause one user's authentication context to be applied to another user's requests.

java
// Original vulnerable code in DefaultAsyncHttpClient.java
                if (!cookies.isEmpty()) {
                    RequestBuilder requestBuilder = request.toBuilder();
                    for (Cookie cookie : cookies) {
-                        requestBuilder.addOrReplaceCookie(cookie);
+                        requestBuilder.addCookieIfUnset(cookie);
                    }
                    request = requestBuilder.build();
                }

Source: GitHub Commit

Detection Methods for CVE-2024-53990

Indicators of Compromise

  • Unexpected authentication events where users gain access to resources they should not have permissions for
  • Log entries showing session tokens or authentication cookies being used by multiple distinct user agents or IP addresses
  • User reports of viewing or modifying data belonging to other users
  • Anomalous request patterns where explicitly set cookies differ from those observed in server-side logs

Detection Strategies

  • Implement request/response logging that captures both explicitly set cookies and the final cookies sent in requests to identify discrepancies
  • Monitor application logs for session tokens appearing across multiple user contexts within short timeframes
  • Deploy runtime application self-protection (RASP) solutions to detect unexpected cookie substitution behavior
  • Conduct code audits to identify usage of AsyncHttpClient with shared instances serving multiple users

Monitoring Recommendations

  • Enable detailed access logging on backend services to correlate cookie values with user identity
  • Implement alerting for authentication anomalies where a single session token is used from multiple source IPs
  • Monitor for unusual patterns in concurrent request handling that could indicate cookie cross-contamination
  • Review application metrics for unexpected session sharing or authentication state inconsistencies

How to Mitigate CVE-2024-53990

Immediate Actions Required

  • Update AsyncHttpClient to the patched version that includes commit d5a83362f7aed81b93ebca559746ac9be0f95425
  • Review application architecture to ensure separate AHC instances are used for different user contexts where possible
  • Disable the auto-managed CookieStore if explicit cookie management is preferred
  • Audit existing deployments for signs of cookie cross-contamination

Patch Information

The fix introduces a new method addCookieIfUnset() in RequestBuilderBase.java that only sets cookies from the CookieStore if they are not already explicitly defined by the developer. This ensures that explicitly set cookies take precedence over cached cookies. The patch is available through the GitHub commit and has been discussed in Pull Request #2033. Additional details are available in the GitHub Security Advisory GHSA-mfj5-cf8g-g2fv.

Workarounds

  • Create separate AsyncHttpClient instances for each user context to prevent cookie jar sharing
  • Disable the automatic CookieStore by configuring AHC with a no-op or custom CookieStore implementation
  • Implement application-level cookie management that bypasses the AHC CookieStore entirely
  • Add validation logic to verify cookie ownership before processing responses
bash
# Configuration example for Maven dependency update
# Update your pom.xml to use the patched AsyncHttpClient version
mvn versions:use-latest-releases -Dincludes=org.asynchttpclient:async-http-client
mvn dependency:tree | grep async-http-client

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechAsync Http Client

  • SeverityCRITICAL

  • CVSS Score9.2

  • EPSS Probability0.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-287
  • Technical References
  • GitHub Commit Changes

  • GitHub Issue Discussion

  • GitHub Pull Request Review

  • GitHub Security Advisory GHSA-mfj5-cf8g-g2fv
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS 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