Denial of Service in Protego Python Robots.txt Parser by Scrapy
CVE-2026-55520

7.1HIGH

Key Information:

Vendor

Scrapy

Status
Vendor
CVE Published:
28 August 2026

What is CVE-2026-55520?

The Protego library, a pure-Python robots.txt parser by Scrapy, is susceptible to a denial of service attack due to improper pattern matching. Prior to version 0.6.2, the library's handling of asterisks in Allow or Disallow directives can lead to exponential backtracking when processing complex directives. This behavior allows an attacker to craft a malicious robots.txt file, causing prolonged resource consumption as the parser attempts to match a near-miss URL. This can effectively deny service to legitimate crawlers. The issue has been addressed and resolved in version 0.6.2.

Affected Version(s)

protego < 0.6.2

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.