CVE-2025-62168 Squid vulnerable to information disclosure via authentication credential leakage in error handling
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.
Which versions are affected by CVE-2025-62168?
It affects 1 product.
Linux distribution packages (40)
squid AlmaLinux:10 | All versions | 7:6.10-6.el10_1.1 |
libecap AlmaLinux:8 | All versions | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
libecap AlmaLinux:8 | All versions | 1.0.1-2.module_el8.6.0+3048+383bc947 |
libecap-devel AlmaLinux:8 | All versions | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
libecap-devel AlmaLinux:8 | All versions | 1.0.1-2.module_el8.6.0+3048+383bc947 |
squid AlmaLinux:8 | All versions | 7:4.15-10.module_el8.10.0+4055+645078d8.9 |
squid AlmaLinux:9 | All versions | 7:5.5-22.el9_7.1 |
squid Red Hat:enterprise_linux:10.1 | All versions | 7:6.10-6.el10_1.1 |
squid-debuginfo Red Hat:enterprise_linux:10.1 | All versions | 7:6.10-6.el10_1.1 |
squid-debugsource Red Hat:enterprise_linux:10.1 | All versions | 7:6.10-6.el10_1.1 |
libecap Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.1-2.module+el8.9.0+19703+a1da7223 |
libecap-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.1-2.module+el8.9.0+19703+a1da7223 |
libecap-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.1-2.module+el8.9.0+19703+a1da7223 |
libecap-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:1.0.1-2.module+el8.9.0+19703+a1da7223 |
squid Red Hat:enterprise_linux:8::appstream | All versions | 7:4.15-10.module+el8.10.0+23592+d564ec65.9 |
squid-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 7:4.15-10.module+el8.10.0+23592+d564ec65.9 |
squid-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 7:4.15-10.module+el8.10.0+23592+d564ec65.9 |
squid Red Hat:enterprise_linux:9::appstream | All versions | 7:5.5-22.el9_7.1 |
squid-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 7:5.5-22.el9_7.1 |
squid-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 7:5.5-22.el9_7.1 |
squid Red Hat:enterprise_linux_eus:10.0 | All versions | 7:6.10-5.el10_0.1 |
squid-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 7:6.10-5.el10_0.1 |
squid-debugsource Red Hat:enterprise_linux_eus:10.0 | All versions | 7:6.10-5.el10_0.1 |
libecap Red Hat:rhel_aus:8.2::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
libecap-debuginfo Red Hat:rhel_aus:8.2::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
libecap-debugsource Red Hat:rhel_aus:8.2::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
libecap-devel Red Hat:rhel_aus:8.2::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
squid Red Hat:rhel_aus:8.2::appstream | All versions | 7:4.4-8.module+el8.2.0+23601+6cdb820c.11 |
squid-debuginfo Red Hat:rhel_aus:8.2::appstream | All versions | 7:4.4-8.module+el8.2.0+23601+6cdb820c.11 |
squid-debugsource Red Hat:rhel_aus:8.2::appstream | All versions | 7:4.4-8.module+el8.2.0+23601+6cdb820c.11 |
libecap Red Hat:rhel_aus:8.4::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
libecap-debuginfo Red Hat:rhel_aus:8.4::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
libecap-debugsource Red Hat:rhel_aus:8.4::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
libecap-devel Red Hat:rhel_aus:8.4::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
squid Red Hat:rhel_aus:8.4::appstream | All versions | 7:4.11-4.module+el8.4.0+23593+1fc48abe.10 |
squid-debuginfo Red Hat:rhel_aus:8.4::appstream | All versions | 7:4.11-4.module+el8.4.0+23593+1fc48abe.10 |
squid-debugsource Red Hat:rhel_aus:8.4::appstream | All versions | 7:4.11-4.module+el8.4.0+23593+1fc48abe.10 |
libecap Red Hat:rhel_aus:8.6::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
libecap-debuginfo Red Hat:rhel_aus:8.6::appstream | All versions | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
libecap-debugsource Red Hat:rhel_aus:8.6::appstream | All versions | 0: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.
Other vulnerabilities in Squid-Cache Squid
- CVE-2025-54574 Squid's URN Handling can lead to Buffer Overflow
- CVE-2026-33526 Squid vulnerable to Denial of Service in ICP Request handling
- CVE-2026-32748 Squid has Denial of Service in ICP Response handling
- CVE-2023-50269 SQUID-2023:10 Denial of Service in HTTP Request parsing
- CVE-2023-49285 Denial of Service in HTTP Message Processing in Squid
Sources
Also known as ALPINE-CVE-2025-62168, ALSA-2025:19107, ALSA-2025:20935, ALSA-2025:21002, AZL-68562, AZL-68589 and 49 more.