Description
Thumbor is an open-source photo thumbnail service by globo.com. Prior to 7.8.0, Thumbor’s HMAC validation can be bypassed due to the use of Python’s .replace() when removing the signature from the URL before validation. Since .replace() removes all occurrences of the substring, an attacker can insert the same signature multiple times in the URL and manipulate the final URL used for validation. This allows crafting URLs where the validated string differs from the actual requested resource, enabling loading images from unintended domains or paths. This issue is fixed in 7.8.0.
Published: 2026-07-31
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Thumbor, an open‑source image thumbnail service, uses a signed URL mechanism to verify the authenticity of the requested image. Prior to version 7.8.0, the signature validation logic employed Python’s .replace() to strip the signature string from the URL. Since .replace() eliminates every occurrence of the substring, an attacker can embed multiple copies of the signature within the URL, causing the final string used for validation to diverge from the actual request. This flaw allows the creation of URLs that pass validation yet point to resources outside the authorized scope, facilitating the loading of images from unexpected domains or file paths.

Affected Systems

Any Thumbor deployment running a version older than 7.8.0 is affected. The vulnerability is present in the open‑source thumbor project maintained by Globo.com and applies to all builds that have not applied the 7.8.0 release or later.

Risk and Exploitability

The CVSS score of 8.2 indicates a high severity, and although the EPSS score is less than 1%, the flaw remains exploitable via crafted URLs that can be accessed remotely. The issue is not yet listed in CISA KEV, but attackers could use it to exfiltrate or manipulate image content, potentially leading to information disclosure or content injection. The exploitation requires only URL manipulation; no additional access credentials are needed.

Generated by OpenCVE AI on August 2, 2026 at 03:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Thumbor to version 7.8.0 or later, which removes the .replace() flaw in signature handling.
  • Enforce strict source validation for images, restricting loading to known domains or secure paths to reduce the attack surface.
  • Audit access logs for anomalous URL patterns and consider disabling support for external domain image requests until a secure configuration is verified.

Generated by OpenCVE AI on August 2, 2026 at 03:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mw3h-qjxj-6xg9 Thumbor has HMAC validation bypass via multiple .replace() calls when removing URL signature
History

Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Thumbor
Thumbor thumbor
Vendors & Products Thumbor
Thumbor thumbor

Fri, 31 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
Description Thumbor is an open-source photo thumbnail service by globo.com. Prior to 7.8.0, Thumbor’s HMAC validation can be bypassed due to the use of Python’s .replace() when removing the signature from the URL before validation. Since .replace() removes all occurrences of the substring, an attacker can insert the same signature multiple times in the URL and manipulate the final URL used for validation. This allows crafting URLs where the validated string differs from the actual requested resource, enabling loading images from unintended domains or paths. This issue is fixed in 7.8.0.
Title Thumbor has HMAC validation bypass via multiple .replace() calls when removing URL signature
Weaknesses CWE-347
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-31T19:58:01.891Z

Reserved: 2026-06-09T17:05:25.059Z

Link: CVE-2026-53501

cve-icon Vulnrichment

Updated: 2026-07-31T19:57:54.655Z

cve-icon NVD

Status : Received

Published: 2026-07-31T19:17:09.413

Modified: 2026-07-31T20:16:51.280

Link: CVE-2026-53501

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T20:32:19Z

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature