Bug 2525703 (CVE-2026-55520) - CVE-2026-55520 protego: Protego: Denial of Service via exponential backtracking in robots.txt URL wildcard matching
Summary: CVE-2026-55520 protego: Protego: Denial of Service via exponential backtracki...
Keywords:
Status: NEW
Alias: CVE-2026-55520
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2526711
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-28 19:44 UTC by OSIDB Bzimport
Modified: 2026-09-01 08:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-28 19:44:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.