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-2025-62168

CVE-2025-62168: Squid Caching Proxy Info Disclosure Flaw

CVE-2025-62168 is an information disclosure vulnerability in Squid-cache Squid that exposes HTTP authentication credentials through error handling. This article covers technical details, affected versions, and mitigation.

Published: April 1, 2026

CVE-2025-62168 Overview

CVE-2025-62168 is an information disclosure vulnerability in Squid, a widely-used caching proxy for the Web. The vulnerability exists in versions prior to 7.2 and stems from a failure to properly redact HTTP authentication credentials during error handling. This flaw allows malicious scripts to bypass browser security protections and extract credentials used by trusted clients for authentication.

Critical Impact

Attackers can potentially identify security tokens or credentials used internally by web applications that rely on Squid for backend load balancing. Notably, this vulnerability does not require Squid to be configured with HTTP authentication to be exploitable.

Affected Products

  • Squid-cache Squid versions prior to 7.2
  • Web applications using Squid for backend load balancing
  • Environments with debug information enabled in administrator mailto links

Discovery Timeline

  • 2025-10-17 - CVE-2025-62168 published to NVD
  • 2025-11-05 - Last updated in NVD database

Technical Details for CVE-2025-62168

Vulnerability Analysis

This vulnerability is classified as CWE-209 (Generation of Error Message Containing Sensitive Information). The core issue lies in Squid's error handling mechanism, which fails to mask sensitive HTTP authentication data when generating error responses. When Squid encounters certain error conditions, it may include authentication credentials in debug information that gets exposed through administrator mailto links in error pages.

The vulnerability enables cross-origin information leakage, allowing scripts running in a browser context to extract authentication credentials that should be protected by browser security mechanisms such as the Same-Origin Policy. This is particularly concerning in enterprise environments where Squid serves as a reverse proxy or load balancer for internal web applications, as the exposed credentials may grant access to sensitive backend systems.

Root Cause

The root cause is improper handling of sensitive authentication data in the HttpRequest::pack() function. Prior to the fix, this function did not support masking sensitive information when packaging HTTP request data for error output. The header.packInto() call would include raw authentication headers without redaction, exposing credentials in error contexts where they could be accessed by untrusted scripts.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Crafting requests that trigger specific error conditions in Squid
  2. Leveraging scripts to access error page content containing debug information
  3. Extracting HTTP authentication credentials from the exposed data
  4. Using the obtained credentials to authenticate against backend services

The attack is particularly effective when the email_err_data directive is enabled (the default in vulnerable versions), as this causes Squid to include detailed request information in error page mailto links.

text
// Patch showing the fix in HttpRequest.cc
// Source: https://github.com/squid-cache/squid/commit/0951a0681011dfca3d78c84fd7f1e19c78a4443f

 /* packs request-line and headers, appends <crlf> terminator */
 void
-HttpRequest::pack(Packable * p) const
+HttpRequest::pack(Packable * const p, const bool maskSensitiveInfo) const
 {
     assert(p);
     /* pack request-line */
     p->appendf(SQUIDSBUFPH " " SQUIDSBUFPH " HTTP/%d.%d\r\n",
                SQUIDSBUFPRINT(method.image()), SQUIDSBUFPRINT(url.path()),
                http_ver.major, http_ver.minor);
     /* headers */
-    header.packInto(p);
-    /* trailer */
+    header.packInto(p, maskSensitiveInfo);
+    /* indicate the end of the header section */
     p->append("\r\n", 2);
 }

The fix introduces a maskSensitiveInfo parameter that allows the function to redact sensitive authentication data when packaging headers for error output.

Detection Methods for CVE-2025-62168

Indicators of Compromise

  • Unusual access patterns to Squid error pages from external sources
  • HTTP requests designed to trigger specific error conditions repeatedly
  • Evidence of credential harvesting from error page responses
  • Suspicious script activity attempting to parse Squid error page content

Detection Strategies

  • Monitor Squid access logs for patterns indicating deliberate error triggering
  • Implement web application firewall rules to detect credential extraction attempts
  • Review Squid error logs for unusual error frequency from specific sources
  • Deploy network intrusion detection signatures for Squid error response analysis

Monitoring Recommendations

  • Enable comprehensive logging for Squid error conditions and access patterns
  • Set up alerts for abnormal error rates or suspicious client behavior
  • Monitor for unauthorized access attempts using potentially compromised credentials
  • Audit backend service authentication logs for credential misuse

How to Mitigate CVE-2025-62168

Immediate Actions Required

  • Upgrade Squid to version 7.2 or later immediately
  • If upgrade is not possible, disable debug information in administrator mailto links
  • Review and rotate any credentials that may have been exposed through Squid error pages
  • Audit access logs for signs of exploitation

Patch Information

The vulnerability is fixed in Squid version 7.2. The patch modifies the HttpRequest::pack() function to accept a maskSensitiveInfo parameter and changes the default behavior of the email_err_data directive from on to off. Organizations should apply commit 0951a0681011dfca3d78c84fd7f1e19c78a4443f or upgrade to version 7.2. For detailed information, refer to the GitHub Security Advisory GHSA-c8cc-phh7-xmxr and the OpenWall OSS-Security Discussion.

Workarounds

  • Disable debug information in error pages by setting email_err_data off in squid.conf
  • Implement additional access controls to limit exposure of Squid error pages
  • Consider placing Squid behind a reverse proxy that filters sensitive error content
  • Use network segmentation to limit the impact of credential exposure
bash
# Configuration example - Add to squid.conf
# Disable debug information in administrator mailto links
email_err_data off

# Reload Squid configuration after making changes
squid -k reconfigure

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSquid

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.17%

  • 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-209
  • Technical References
  • OpenWall OSS-Security Discussion
  • Vendor Resources
  • GitHub Squid Commit Update

  • GitHub Security Advisory GHSA-c8cc-phh7-xmxr
  • Related CVEs
  • CVE-2026-33515: Squid Information Disclosure Vulnerability

  • CVE-2022-41318: Squid-cache Information Disclosure Flaw

  • CVE-2022-41317: Squid-cache Information Disclosure Flaw

  • CVE-2021-28116: Squid-cache 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