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

CVE-2024-28849: Follow-redirects Credential Leak Flaw

CVE-2024-28849 is an information disclosure vulnerability in Follow-redirects that leaks proxy authentication credentials during cross-domain redirects. This article covers technical details, affected versions, and patches.

Published: January 28, 2026

CVE-2024-28849 Overview

CVE-2024-28849 is a credential leakage vulnerability in the follow-redirects Node.js package, an open source drop-in replacement for Node's http and https modules that automatically follows HTTP redirects. The vulnerability exists because the package fails to properly sanitize sensitive headers during cross-domain redirects, specifically retaining the Proxy-Authorization header while correctly clearing the standard Authorization header.

Critical Impact

Applications using follow-redirects may inadvertently leak proxy authentication credentials to malicious third-party servers during cross-domain redirects, potentially exposing internal network access or privileged credentials.

Affected Products

  • follow-redirects versions prior to 1.15.6
  • Node.js applications using vulnerable follow-redirects as a dependency
  • Applications relying on proxy authentication through follow-redirects

Discovery Timeline

  • 2024-03-14 - CVE-2024-28849 published to NVD
  • 2025-12-05 - Last updated in NVD database

Technical Details for CVE-2024-28849

Vulnerability Analysis

The follow-redirects package is designed to transparently handle HTTP redirects for Node.js applications, maintaining critical request properties across redirect chains. However, this implementation contained an oversight in its security header handling logic. While the code correctly identified and removed the Authorization and Cookie headers when following redirects to different domains, it failed to apply the same protection to the Proxy-Authorization header.

This inconsistency creates a significant security gap. When an application makes a request through a proxy that requires authentication, the Proxy-Authorization header contains credentials (typically in Base64-encoded format). If a malicious server responds with a redirect to a different domain, those proxy credentials would be sent along with the redirected request, exposing them to the attacker-controlled destination.

Root Cause

The root cause lies in an incomplete regular expression pattern used to identify security-sensitive headers that should be stripped during cross-domain redirects. The original implementation used the pattern /^(?:authorization|cookie)$/i which only matched authorization and cookie headers. The proxy-authorization header was not included in this pattern, allowing it to persist across redirect boundaries to different hosts.

Attack Vector

The attack can be executed remotely over the network. An attacker can exploit this vulnerability by:

  1. Setting up a malicious server that responds with HTTP redirect responses (301, 302, 303, 307, or 308)
  2. Tricking a vulnerable application into making a request that will be redirected to the attacker's server
  3. When the application follows the redirect, the Proxy-Authorization header is preserved and sent to the attacker's server
  4. The attacker captures the credentials from the incoming request headers

This requires low privileges to exploit and does not require user interaction, making it feasible in automated attack scenarios.

javascript
// Security patch showing the fix
// Source: https://github.com/follow-redirects/follow-redirects/commit/c4f847f85176991f95ab9c88af63b1294de8649b

      redirectUrl.protocol !== "https:" ||
      redirectUrl.host !== currentHost &&
      !isSubdomain(redirectUrl.host, currentHost)) {
-    removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
+    removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
   }

   // Evaluate the beforeRedirect callback

The fix updates the regular expression to include an optional proxy- prefix, ensuring both Authorization and Proxy-Authorization headers are removed during cross-domain redirects.

Detection Methods for CVE-2024-28849

Indicators of Compromise

  • Unexpected outbound HTTP requests containing Proxy-Authorization headers to external domains
  • Network traffic showing proxy credentials being transmitted to non-proxy destinations
  • Log entries indicating redirects from internal services to external or untrusted domains
  • Authentication failures on proxy servers suggesting credential compromise

Detection Strategies

  • Implement network monitoring to detect Proxy-Authorization headers in traffic destined for non-proxy servers
  • Use Software Composition Analysis (SCA) tools to identify follow-redirects versions prior to 1.15.6 in your dependency tree
  • Monitor npm audit results for CVE-2024-28849 alerts in CI/CD pipelines
  • Review application logs for unexpected redirect chains crossing domain boundaries

Monitoring Recommendations

  • Enable verbose logging on proxy servers to track authentication attempts with potentially compromised credentials
  • Implement egress filtering to monitor and alert on sensitive header leakage
  • Set up dependency vulnerability scanning in development and production environments
  • Configure network intrusion detection systems to flag Proxy-Authorization headers in non-proxy traffic

How to Mitigate CVE-2024-28849

Immediate Actions Required

  • Upgrade follow-redirects to version 1.15.6 or later immediately
  • Audit applications for direct and transitive dependencies on follow-redirects using npm ls follow-redirects
  • Rotate any proxy authentication credentials that may have been exposed
  • Review network logs for evidence of credential leakage to external domains

Patch Information

The vulnerability has been addressed in follow-redirects version 1.15.6. The fix modifies the header sanitization logic to include Proxy-Authorization in the list of sensitive headers that are removed during cross-domain redirects. Users should upgrade by running:

bash
npm update follow-redirects

For detailed information about the fix, refer to the GitHub Security Advisory GHSA-cxjh-pqwp-8mfp and the security patch commit.

Workarounds

  • There are no known workarounds for this vulnerability according to the vendor advisory
  • As a temporary measure, consider implementing network-level egress filtering to prevent sensitive headers from leaving trusted network boundaries
  • Review and restrict which applications are permitted to make external HTTP requests through authenticated proxies
  • Consider implementing a proxy layer that strips sensitive headers before forwarding requests to external destinations
bash
# Check for vulnerable follow-redirects versions in your project
npm ls follow-redirects

# Update to the patched version
npm update follow-redirects

# Verify the update was successful
npm ls follow-redirects | grep "1.15.6"

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechFollow Redirects

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.68%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • WHATWG Specification on Authentication

  • GitHub Issue Discussion

  • HackerOne Report #2390009

  • Fedora Package Announcement
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-cxjh-pqwp-8mfp
  • Related CVEs
  • CVE-2023-26159: Follow-redirects Information Disclosure

  • CVE-2022-0536: Follow-redirects Information Disclosure Flaw

  • CVE-2022-0155: Follow-redirects Information Disclosure
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