Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2025-24354: imgproxy loopback restriction bypass via 0.0.0.0

Published Jan 27, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.3Medium · v3.1
EPSS0.90%60th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2025-24354CWE-918 · Server-Side Request Forgery (SSRF)

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

FAQ

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.
Activity feed

Recent activity

5 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity5Community discussion across Reddit, Mastodon, and other social sources.