{"id":"CVE-2026-53501","published":"2026-07-31T18:42:42Z","modified":"2026-07-31T19:58:01Z","title":"Thumbor has HMAC validation bypass via multiple .replace() calls when removing URL signature","vendor":"thumbor","product":"thumbor","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00352,"percentile":0.29664,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/thumbor/thumbor/security/advisories/GHSA-mw3h-qjxj-6xg9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/thumbor/thumbor/commit/e3ae3e2500537b4d735df4144129a649374bb70b","tags":["x_refsource_MISC"]},{"url":"https://github.com/thumbor/thumbor/releases/tag/7.8.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":5.93},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"thumbor","affectedVersions":[{"vendor":"thumbor","product":"thumbor","versions":["< 7.8.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-31T19:57:48.500225Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"thumbor","vulnerableRanges":["<7.8.0"],"patched":["7.8.0"],"from":["GHSA-mw3h-qjxj-6xg9","PYSEC-2026-3620"],"provenance":"source"}],"summary":{"text":"The flaw is an HMAC validation bypass in the URL signature handling of Thumbor, an open-source photo thumbnail service, where the signature is stripped from the URL using Python's .replace(), which removes every occurrence of the signature rather than only one. An attacker with network access and no authentication or user interaction can repeat the signature within a crafted URL so the validated string differs from the requested resource, allowing images to be loaded from unintended domains or paths; this affects Thumbor versions prior to 7.8.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:43Z"},"euvd":{"id":"EUVD-2026-51608","exploited":false,"provenance":"source"}}