CVE-2026-55520

published 28 Aug 2026 · updated 31 Aug 2026

Protego: Exponential backtracking ReDoS in robots.txt URL wildcard matching

7.1HighCVSS 7.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

Protego is a pure-Python robots.txt parser with support for modern conventions. Prior to 0.6.2, protego._urlpattern._URLPattern._prepare_pattern_for_regex translates every asterisk in an Allow or Disallow directive into a lazy regular-expression wildcard, so a directive containing many asterisks creates exponential backtracking. After protego.Protego.parse processes a crafted robots.txt file, protego.Protego.can_fetch can spend an attacker-controlled period matching a near-miss URL and deny service to the crawler. The vulnerable path is src/protego/_urlpattern.py in the _URLPattern match logic. This issue is fixed in version 0.6.2.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
scrapy<0.6.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-55520 severity on Zeptric[![CVE-2026-55520](https://zeptric.io/badge/cve/CVE-2026-55520.svg)](https://zeptric.io/cve/CVE-2026-55520)