Skip to main content

Thumbor CVE-2026-53505

| EUVDEUVD-2026-51611 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-07-31 https://github.com/thumbor/thumbor GHSA-phj3-59pf-cp83
7.5
CVSS 3.1 · Vendor: https://github.com/thumbor/thumbor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send HTTP GET with filters:proportion(10000) parameter
  2. Delivery
    Thumbor parses unbounded float, no validation applied
  3. Exploit
    Proportion filter executes in POST_TRANSFORM phase after MAX_WIDTH/MAX_HEIGHT checks
  4. Execution
    engine.resize() called with extreme computed dimensions
  5. Persist
    Server allocates massive CPU and memory
  6. Impact
    Process OOM kill or sustained DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two preconditions: (1) the proportion filter must be enabled, which is the default state via BUILTIN_FILTERS and requires no special setup; and (2) the attacker must be able to submit a URL containing the filter parameter. For (2), there are two distinct paths: if ALLOW_UNSAFE_URL=True (described as a common default in some deployments), any remote unauthenticated attacker can submit an /unsafe/ URL - no credentials or tokens required. If ALLOW_UNSAFE_URL=False, the attacker must possess a valid signed URL, meaning they must be an authorized user, partner, or party who can obtain signed URLs from a trusted signing service. What limits exploitation: disabling the proportion filter in BUILTIN_FILTERS eliminates the attack surface entirely; restricting /unsafe/ to False constrains attackers to those with signing access; MAX_WIDTH and MAX_HEIGHT server settings do NOT limit this attack because the proportion filter executes in the POST_TRANSFORM phase after those limits are applied.

Impact

The NVD CVSS 3.1 score of 7.5 with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H accurately models the worst-case deployment (ALLOW_UNSAFE_URL=True), where any remote unauthenticated attacker can trigger the flaw. However, this vector overstates risk for hardened deployments where /unsafe/ is disabled: in that configuration, exploitation requires a valid signed URL, implying at minimum a PR:L effective privilege level. No EPSS score was provided in the input data. The presence of a published PoC in the advisory lowers the attacker skill bar significantly. The vulnerability has no confidentiality or integrity impact - A:H is the sole concern. Real-world priority should be rated HIGH for any Thumbor instance with ALLOW_UNSAFE_URL=True (a documented common default in some deployments), and MEDIUM for signed-URL-only instances where signing access is restricted to trusted parties. The POST_TRANSFORM bypass means administrators who believe MAX_WIDTH/MAX_HEIGHT settings protect them are mistaken - that defense is insufficient alone.

Exploit ScenarioDerived

An attacker targeting a Thumbor instance with ALLOW_UNSAFE_URL=True sends a single HTTP request such as GET /unsafe/100x100/filters:proportion(10000)/example.jpg; Thumbor parses the value 10000 without validation, computes target dimensions of 1,000,000 x 1,000,000 pixels, and attempts to allocate the corresponding memory and CPU, resulting in OOM kill or sustained process hang. The PoC provided in the advisory requires no special tooling - a standard HTTP client suffices - and the attack can be amplified by sending multiple concurrent requests.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 31, 2026

Remote denial of service in Thumbor (pip/thumbor <= 7.7.7) is triggered by passing an unbounded value to the built-in filters:proportion() image filter, causing the server to allocate extreme CPU and memory resources during resize operations. The filter executes in the POST_TRANSFORM phase - after request-level MAX_WIDTH/MAX_HEIGHT clamping has already run - making those server-side size guards ineffective as a compensating control. Publicly available exploit code (PoC) exists per the GitHub Security Advisory GHSA-phj3-59pf-cp83; the vulnerability is not currently listed in the CISA KEV catalog.

RemediationAI

Upgrade to Thumbor 7.8.0 (vendor-released patch), which enforces that proportion values outside the range (0.0, 1.0] are silently rejected - the filter returns without invoking engine.resize(). The fix is in commit 2c716119de986cfc68c7071af52a98187e006023 and the release is at https://github.com/thumbor/thumbor/releases/tag/7.8.0. If immediate upgrade is not feasible, remove the proportion filter from the BUILTIN_FILTERS configuration list to disable it entirely - trade-off: this removes all proportion-based resize functionality for legitimate users. As a secondary hardening step, if ALLOW_UNSAFE_URL=True, set it to False to force signed URL requirements; this restricts exploitation to authorized parties with signing access but does not eliminate the vulnerability. Rate limiting at the reverse proxy or load balancer on Thumbor processing endpoints can reduce DoS impact but does not remediate the root cause. Note that MAX_WIDTH and MAX_HEIGHT settings alone are not a compensating control because the proportion filter bypasses them via POST_TRANSFORM execution order.

Affected VersionsENISA

thumbor < 7.8.0

Affected Packages

pypi thumbor fix: 7.8.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Thumbor is an open-source Python image-processing server (pkg:pip/thumbor) commonly used to serve dynamically resized and filtered images via URL-encoded parameters. The proportion filter in thumbor/filters/proportion.py parses its argument as a BaseFilter.DecimalNumber float with no defined maximum, then computes new_width = source_width * value and new_height = source_height * value before calling engine.resize(). The root cause is CWE-400 (Uncontrolled Resource Consumption): the implementation omits the input validation that its own documentation specifies (0.0 to 1.0 per docs/proportion.rst). The filter's placement in the POST_TRANSFORM pipeline phase is architecturally significant - this phase executes after the main transform pipeline where MAX_WIDTH and MAX_HEIGHT are applied to req.width/req.height, meaning those configuration-level guards do not constrain the proportion filter's output dimensions.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/thumbor/thumbor) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable via /unsafe/ path with no authentication when ALLOW_UNSAFE_URL=True; sole impact is availability via resource exhaustion, no C or I impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/thumbor/thumbor).

CVSS VectorVendor: https://github.com/thumbor/thumbor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Summary

Thumbor's filters:proportion(<value>) filter does not enforce an upper bound on <value> and runs in the post-transform phase. An attacker can trigger extremely large resizes (CPU/memory exhaustion) and cause denial of service.

Details

  • Filter implementation: thumbor/filters/proportion.py
  • value is parsed as a float (BaseFilter.DecimalNumber) with no maximum.
  • The filter computes new_width = source_width * value and new_height = source_height * value and then calls engine.resize(new_width, new_height).
  • Execution phase: proportion runs in the default POST_TRANSFORM phase (after the main transform pipeline). This means it can effectively bypass request-level size clamping that happens earlier in the request lifecycle (e.g., MAX_WIDTH/MAX_HEIGHT applied to req.width/req.height).

Documentation states the percentage argument should be 0.0 to 1.0 (docs/proportion.rst), but the implementation does not enforce this constraint.

PoC

Preconditions
  • The proportion filter is enabled (it is enabled by default via BUILTIN_FILTERS).
  • Either:
  • /unsafe/ URLs are allowed (ALLOW_UNSAFE_URL=True, common default in some deployments), OR
  • /unsafe/ is disabled, and the attacker has a valid signed URL (i.e., the attacker is an authorized user/partner, or otherwise can obtain signed URLs issued by a trusted signing service).
Example request 1 (signed URL)

The following request was used to reproduce the issue and causes severe resource exhaustion:

http://<host>:<port>/<url-sign>/100x100/filters:proportion(10000)/example.jpg

Example request 2 (/unsafe/)

If /unsafe/ is enabled:

http://<host>:<port>/unsafe/100x100/filters:proportion(10000)/example.jpg

Impact

  • Remote Denial of Service via CPU and/or memory exhaustion (and potentially process crash / OOM kill).
  • Exploitability depends on deployment:
  • If /unsafe/ is enabled: unauthenticated remote DoS.
  • If /unsafe/ is disabled: the attacker needs a valid signed URL (i.e., the attacker can legitimately request signed URLs, or has access to signed URLs issued for other users/partners). If signed URLs are not exposed to untrusted parties, exploitability is reduced but the risk still applies to any party who can generate/use signed URLs.

Suggested remediation

  • Enforce a strict bound on the proportion parameter (e.g., 0.0 < value <= 1.0 as documented), or define a safe maximum based on intended semantics.

Executive ViewAI

Why It Matters

Thumbor image library versions 7.7.7 and earlier are vulnerable to remote denial of service attacks via the proportion() filter, causing servers to exhaust CPU and memory resources. Any organization operating Thumbor-based image processing services faces availability risk; publicly available exploit code increases likelihood of attack attempts.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
widely-used Python image processing server in web and media stacks
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy