Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. thumbor
  4. ›
  5. CVE-2026-53500

CVE-2026-53500: Thumbor treats ALLOWED_SOURCES string patterns as unescaped regex, allowing hostname bypass via wildcard dot

July 31, 2026 (updated September 30, 2026)

The ALLOWED_SOURCES configuration is meant to restrict which hosts Thumbor’s HTTP loader may fetch images from. Plain-string entries in that list (the overwhelming majority of real-world and documented configurations) are passed directly to re.match() without escaping. Because . is a regex wildcard, every dot in a domain name becomes a bypass vector: s.glbimg.com silently matches sXglbimgYcom, sAglbimg.com, and any other hostname that differs only at a dot position. This undermines the primary SSRF defence that ALLOWED_SOURCES is intended to provide.

References

  • github.com/advisories/GHSA-6x26-6r6f-m537
  • github.com/thumbor/thumbor/commit/68876715350c6c8f49c324e5515e64908830aed7
  • github.com/thumbor/thumbor/releases/tag/7.8.0
  • github.com/thumbor/thumbor/security/advisories/GHSA-6x26-6r6f-m537
  • nvd.nist.gov/vuln/detail/CVE-2026-53500

Code Behaviors & Features

Detect and mitigate CVE-2026-53500 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 7.8.0

Fixed versions

  • 7.8.0

Solution

Upgrade to version 7.8.0 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

pypi/thumbor/CVE-2026-53500.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:56 +0000.