CVE-2025-62168 Squid vulnerable to information disclosure via authentication credential leakage in error handling

Critical 10.0 Published Updated

Attackers can leak HTTP authentication credentials via error handling, exposing security tokens and internal credentials used by web applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-62168?

CVE-2025-62168 is a critical vulnerability in Squid-Cache Squid, published on 17 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Squid is a caching proxy for the Web. In Squid versions prior to 7.2, a failure to redact HTTP authentication credentials in error handling allows information disclosure. The vulnerability allows a script to bypass browser security protections and learn the credentials a trusted client uses to authenticate. This potentially allows a remote client to identify security tokens or credentials used internally by a web application using Squid for backend load balancing. These attacks do not require Squid to be configured with HTTP authentication. The vulnerability is fixed in version 7.2. As a workaround, disable debug information in administrator mailto links generated by Squid by configuring squid.conf with email_err_data off.

Weakness: CWE-550, CWE-209

Which versions are affected by CVE-2025-62168?

It affects 1 product.

Linux distribution packages (40)
squid AlmaLinux:10All versions7:6.10-6.el10_1.1
libecap AlmaLinux:8All versions1.0.1-2.module_el8.6.0+2741+01592ae8
libecap AlmaLinux:8All versions1.0.1-2.module_el8.6.0+3048+383bc947
libecap-devel AlmaLinux:8All versions1.0.1-2.module_el8.6.0+2741+01592ae8
libecap-devel AlmaLinux:8All versions1.0.1-2.module_el8.6.0+3048+383bc947
squid AlmaLinux:8All versions7:4.15-10.module_el8.10.0+4055+645078d8.9
squid AlmaLinux:9All versions7:5.5-22.el9_7.1
squid Red Hat:enterprise_linux:10.1All versions7:6.10-6.el10_1.1
squid-debuginfo Red Hat:enterprise_linux:10.1All versions7:6.10-6.el10_1.1
squid-debugsource Red Hat:enterprise_linux:10.1All versions7:6.10-6.el10_1.1
libecap Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.1-2.module+el8.9.0+19703+a1da7223
libecap-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.1-2.module+el8.9.0+19703+a1da7223
libecap-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.1-2.module+el8.9.0+19703+a1da7223
libecap-devel Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.1-2.module+el8.9.0+19703+a1da7223
squid Red Hat:enterprise_linux:8::appstreamAll versions7:4.15-10.module+el8.10.0+23592+d564ec65.9
squid-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions7:4.15-10.module+el8.10.0+23592+d564ec65.9
squid-debugsource Red Hat:enterprise_linux:8::appstreamAll versions7:4.15-10.module+el8.10.0+23592+d564ec65.9
squid Red Hat:enterprise_linux:9::appstreamAll versions7:5.5-22.el9_7.1
squid-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions7:5.5-22.el9_7.1
squid-debugsource Red Hat:enterprise_linux:9::appstreamAll versions7:5.5-22.el9_7.1
squid Red Hat:enterprise_linux_eus:10.0All versions7:6.10-5.el10_0.1
squid-debuginfo Red Hat:enterprise_linux_eus:10.0All versions7:6.10-5.el10_0.1
squid-debugsource Red Hat:enterprise_linux_eus:10.0All versions7:6.10-5.el10_0.1
libecap Red Hat:rhel_aus:8.2::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
libecap-debuginfo Red Hat:rhel_aus:8.2::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
libecap-debugsource Red Hat:rhel_aus:8.2::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
libecap-devel Red Hat:rhel_aus:8.2::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
squid Red Hat:rhel_aus:8.2::appstreamAll versions7:4.4-8.module+el8.2.0+23601+6cdb820c.11
squid-debuginfo Red Hat:rhel_aus:8.2::appstreamAll versions7:4.4-8.module+el8.2.0+23601+6cdb820c.11
squid-debugsource Red Hat:rhel_aus:8.2::appstreamAll versions7:4.4-8.module+el8.2.0+23601+6cdb820c.11
libecap Red Hat:rhel_aus:8.4::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
libecap-debuginfo Red Hat:rhel_aus:8.4::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
libecap-debugsource Red Hat:rhel_aus:8.4::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
libecap-devel Red Hat:rhel_aus:8.4::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
squid Red Hat:rhel_aus:8.4::appstreamAll versions7:4.11-4.module+el8.4.0+23593+1fc48abe.10
squid-debuginfo Red Hat:rhel_aus:8.4::appstreamAll versions7:4.11-4.module+el8.4.0+23593+1fc48abe.10
squid-debugsource Red Hat:rhel_aus:8.4::appstreamAll versions7:4.11-4.module+el8.4.0+23593+1fc48abe.10
libecap Red Hat:rhel_aus:8.6::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
libecap-debuginfo Red Hat:rhel_aus:8.6::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77
libecap-debugsource Red Hat:rhel_aus:8.6::appstreamAll versions0:1.0.1-2.module+el8.1.0+4044+36416a77

Products include Squid-Cache Squid.

How do I fix CVE-2025-62168?

Upgrade to a fixed version.

Is CVE-2025-62168 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62168 exists.

Public exploit code: 1 Nuclei template and 3 proofs of concept on GitHub.

All Squid-Cache Squid vulnerabilities

Sources

Also known as ALPINE-CVE-2025-62168, ALSA-2025:19107, ALSA-2025:20935, ALSA-2025:21002, AZL-68562, AZL-68589 and 49 more.

Is CVE-2025-62168 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free