CVE-2026-104786: Stack-based buffer overflow in Squid peer Basic authentication
CVE-2026-104786 is a stack-based buffer overflow in the HTTP authentication handling of Squid 5.x, 6.x, and 7.x releases before 7.7. Improper input validation allows a trusted client to trigger an out-of-bounds write when Squid authenticates to a configured cache_peer using client-supplied Basic authentication credentials. Exploitation can corrupt memory and affect service integrity and availability.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can corrupt stack memory, potentially disrupting the Squid service and affecting its integrity. The vulnerability-specific assessment identifies low integrity and availability impacts and no confidentiality impact. Broader distribution-level severity assessments conflict with this assessment; arbitrary code execution and information disclosure are not established by the available technical details.
Mitigation
If you can’t patch tonight, do this now.
Until a fixed package can be deployed, avoid configuring Squid to authenticate to a cache_peer using client-provided Basic authentication credentials. Restrict proxy access to necessary clients as a defense-in-depth measure, noting that a trusted client can trigger the vulnerability.
Remediation
Patch, then assume compromise.
Upgrade to Squid 7.7 or later, or apply the patch referenced in vendor advisory SQUID-2026:7. Distribution packages may contain backported fixes without adopting the upstream version number. For Debian stable (trixie), upgrade squid to version 6.13-2+deb13u4 or later. For Amazon Linux 2023, install the updated Squid packages associated with ALAS2023-2026-3454. These distribution updates do not establish fix availability for Debian 12; verify that release separately.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-104786 exploited in the wild?
- As of Nov 13, 2026, Mallory has no reports of CVE-2026-104786 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-104786?
- As of Nov 13, 2026, Mallory has found no public exploit for CVE-2026-104786.
- Is there a patch for CVE-2026-104786?
- Upgrade to Squid 7.7 or later, or apply the patch referenced in vendor advisory SQUID-2026:7. Distribution packages may contain backported fixes without adopting the upstream version number.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.