# 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.

- **Severity:** Critical 10.0 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 17 Oct 2025
- **Updated:** 26 Feb 2026
- **Also known as:** ALPINE-CVE-2025-62168, ALSA-2025:19107, ALSA-2025:20935, ALSA-2025:21002, AZL-68562, AZL-68589, CLSA-2025-1763024537, CLSA-2025-1763031041, CLSA-2025-1763124681, CLSA-2025-1763370812, CLSA-2025-1763388821, CLSA-2025-1763397982, CLSA-2025-1763413374, CLSA-2025-1763467263, CLSA-2025-1763478867, CLSA-2025-1763490076, CLSA-2025-1763543346, CLSA-2025-1763717278, CLSA-2025-1764151964, CLSA-2025-1764152160, CLSA-2025-1764281284, CLSA-2025-1764681009, CLSA-2026-1790775234, CLSA-2026-1790851347, CLSA-2026-1790852342, DEBIAN-CVE-2025-62168, DSA-6047-1, GHSA-c8cc-phh7-xmxr, MINI-jc89-wp4r-6q45, OESA-2025-2531, OESA-2025-2606, OESA-2025-2607, RHSA-2025:19107, RHSA-2025:19114, RHSA-2025:19115, RHSA-2025:19118, RHSA-2025:19167, RHSA-2025:19277, RHSA-2025:19398, RHSA-2025:19967, RHSA-2025:20935, RHSA-2025:21002, RHSA-2025:21065, RHSA-2025:21066, RHSA-2025:21090, RLSA-2025:19107, RLSA-2025:20935, RLSA-2025:21002, SUSE-SU-2025:3902-1, SUSE-SU-2025:4026-1, SUSE-SU-2025:4029-1, SUSE-SU-2025:4099-1, UBUNTU-CVE-2025-62168, USN-7845-1, openSUSE-SU-2025:15715-1

## 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 (Server-generated Error Message Containing Sensitive Information), CWE-209 (Generation of Error Message Containing Sensitive Information)

## Which versions are affected by CVE-2025-62168?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `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: 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:

- PoC of CVE-2025-62168 (github_poc): https://github.com/monzaviman/CVE-2025-62168
- PoC of CVE-2025-62168 (github_poc): https://github.com/shahroodcert/CVE-2025-62168
- Proof-of-Concept (PoC) for CVE-2025-62168 👾  (github_poc): https://github.com/nehkark/CVE-2025-62168
- Squid Proxy - HTTP Authentication Credentials Disclosure (nuclei): http/cves/2025/CVE-2025-62168.yaml

## Other vulnerabilities in Squid-Cache Squid

- [CVE-2025-54574](https://insights.sbomify.com/CVE-2025-54574/): Squid's URN Handling can lead to Buffer Overflow (critical 9.3)
- [CVE-2026-33526](https://insights.sbomify.com/CVE-2026-33526/): Squid vulnerable to Denial of Service in ICP Request handling (critical 9.2)
- [CVE-2026-32748](https://insights.sbomify.com/CVE-2026-32748/): Squid has Denial of Service in ICP Response handling (high 8.7)
- [CVE-2023-50269](https://insights.sbomify.com/CVE-2023-50269/): SQUID-2023:10 Denial of Service in HTTP Request parsing (high 8.6)
- [CVE-2023-49285](https://insights.sbomify.com/CVE-2023-49285/): Denial of Service in HTTP Message Processing in Squid (high 8.6)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-62168 and fix it if it is affected.

What it is: 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.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62168 exists.

Affected product: Squid-Cache Squid. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-62168/ (Markdown: https://insights.sbomify.com/CVE-2025-62168/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-62168
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-62168
- OSV: https://osv.dev/vulnerability/CVE-2025-62168

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-62168/
Summaries are generated and may contain mistakes; the official description above is the record.
