CVE-2004-0189 in Squid
The "%xx" URL decoding function in Squid 2.5STABLE4 and earlier allows remote attackers to bypass url_regex ACLs via a URL with a NULL ("%00") character, which causes Squid to use only a portion of the requested URL when comparing it against the access control lists.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Squid | Squid | 2.0_patch2 2.1_patch2 2.3_stable5 2.4 2.4_stable7 2.5_stable3+1 more2.5_stable4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
The "%xx" URL decoding function in Squid 2.5STABLE4 and earlier allows remote attackers to bypass url_regex ACLs via a URL with a NULL ("%00") character, which causes Squid to use only a portion of the requested URL when comparing it against the access control lists.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0189 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-159237-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2004-03-15 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the URL decoding function of Squid 2.5STABLE4 and earlier allows attackers to bypass URL-based access control lists (ACLs) by using a NULL character in the URL.
The vulnerability is exploited by sending a URL with a NULL character ('%00') to the Squid proxy server. This causes Squid to truncate the URL at the NULL character, potentially allowing access to URLs that should be restricted by the ACLs.
Questions
What is CVE-2004-0189?
A vulnerability in the URL decoding function of Squid 2.5STABLE4 and earlier allows attackers to bypass URL-based access control lists (ACLs) by using a NULL character in the URL.
What is the CVSS score for CVE-2004-0189?
CVE-2004-0189 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 13.8%.
Is CVE-2004-0189 actively exploited?
Public exploit available for CVE-2004-0189. Exploitation risk elevated.
How do I remediate CVE-2004-0189?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2004-0189?
CVE-2004-0189 affects Squid Squid.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Squid","product":"Squid","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.