Skip to content
OpenAdvisories
High · 8.2 CVE-2026-53501 EUVD-2026-51608GHSA-mw3h-qjxj-6xg9PYSEC-2026-3620

Thumbor has HMAC validation bypass via multiple .replace() calls when removing URL signature

Published Jul 31, 2026 · Updated Jul 31, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
thumbor thumbor < 7.8.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 thumbor 7.8.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS thumbor No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI thumbor < 7.8.0 7.8.0 GHSA-mw3h-qjxj-6xg9

References