CVE-2025-24354: imgproxy loopback restriction bypass via 0.0.0.0
CVE-2025-24354 affects imgproxy, a server used for resizing, processing, and converting images. When configured with IMGPROXY_ALLOW_LOOPBACK_SOURCE_ADDRESSES set to false, imgproxy is intended to block access to loopback/local addresses as image sources. However, it does not block the IPv4 address 0.0.0.0. An attacker can supply 0.0.0.0 as a source address and cause imgproxy to access services bound to the local host, resulting in a server-side request forgery condition that bypasses the intended loopback protection. The issue is fixed in imgproxy version 3.27.2.
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 allow an attacker to make imgproxy send requests to services reachable only from the local host, potentially exposing internal-only HTTP services, administrative interfaces, metadata-style endpoints, or other localhost-bound resources. Depending on what is listening on the target host and how imgproxy fetches the resource, this may lead to disclosure of sensitive information and access to otherwise non-public services. The primary impact described by the available information is exposure of services on the local host.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict imgproxy's outbound network access so it cannot reach localhost-bound or otherwise sensitive internal services, including via host firewalling, container/network namespace isolation, or egress filtering. Additionally, avoid exposing imgproxy to untrusted users for arbitrary source URL fetching, and review any local services bound on the same host to ensure they are not unnecessarily reachable or sensitive.
Remediation
Patch, then assume compromise.
Upgrade imgproxy to version 3.27.2 or later, which fixes the failure to block 0.0.0.0 when loopback source addresses are disallowed. After upgrading, verify that localhost and equivalent loopback-reachable addresses are correctly denied by source validation controls.
Exploits
1 exploit validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2025-24354 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-24354 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-24354?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-24354, the earliest disclosed Aug 8, 2025.
- Is there a patch for CVE-2025-24354?
- Upgrade imgproxy to version 3.27.2 or later, which fixes the failure to block 0.0.0.0 when loopback source addresses are disallowed. After upgrading, verify that localhost and equivalent loopback-reachable addresses are correctly denied by source validation controls.
- How severe is CVE-2025-24354?
- CVE-2025-24354 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 0.90% (60th percentile) as of Sep 25, 2026.
Recent activity
5 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.