CVE-2026-55520
published high CVSS 4.0 · 7.1Protego: Exponential backtracking ReDoS in robots.txt URL wildcard matching
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scrapy | — | protego< 0.6.2 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Protegoaarch64 | Advisory build | 0.6.2-1.1 | OPENSUSE-SU-2026:11202-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Protegoppc64le | Advisory build | 0.6.2-1.1 | OPENSUSE-SU-2026:11202-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Protegos390x | Advisory build | 0.6.2-1.1 | OPENSUSE-SU-2026:11202-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Protegox86_64 | Advisory build | 0.6.2-1.1 | OPENSUSE-SU-2026:11202-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Protegoaarch64 | Advisory build | 0.6.2-1.1 | OPENSUSE-SU-2026:11202-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Protegoppc64le | Advisory build | 0.6.2-1.1 | OPENSUSE-SU-2026:11202-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Protegos390x | Advisory build | 0.6.2-1.1 | OPENSUSE-SU-2026:11202-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Protegox86_64 | Advisory build | 0.6.2-1.1 | OPENSUSE-SU-2026:11202-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scrapy | protego | < 0.6.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
3Provider assertions
2GitHub_M · cna
Protego: Exponential backtracking ReDoS in robots.txt URL wildcard matching
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8949cc81ecdb30fb47fddf15bb3ae27e3971015c03550e444a140ca64a12d6b9
- Ingested
- 23 Sep 2026, 09:21:01 UTC
- Source record
- Official CVE record