CVE-2026-55520 Protego: Exponential backtracking ReDoS in robots.txt URL wildcard matching
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-protego(Debian 12) | = 0.2.1+dfsg-1; = 0.3.0+dfsg-1; = 0.3.1+dfsg-1; = 0.4.0+dfsg-1 +5 more | No fix listed | No fix yet |
| debian/python-protego(Debian 13) | = 0.4.0+dfsg-1; = 0.5.0+dfsg-1; = 0.6.0+dfsg-1; = 0.6.2+dfsg-1 +2 more | No fix listed | No fix yet |
| ubuntu/python-protego(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-protego(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-protego(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-protego(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/python-protego(Debian 14) | < 0.6.2+dfsg-1; = 0.4.0+dfsg-1; = 0.5.0+dfsg-1; = 0.6.0+dfsg-1 | 0.6.2+dfsg-1 | Fixed |
| pypi protego(PyPI) | < 0.6.2; <= 0.6.1; = 0.1; = 0.1.12 +12 more | 0.6.2 | Fixed |
| scrapy protego | = < 0.6.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi protego(PyPI) | < 0.6.2 | 0.6.2 |
| pypi protego(PyPI) | = 0.1 | No fix listed |
| pypi protego(PyPI) | = 0.1.12 | No fix listed |
| pypi protego(PyPI) | = 0.1.14 | No fix listed |
| pypi protego(PyPI) | = 0.1.15 | No fix listed |
| pypi protego(PyPI) | = 0.1.16 | No fix listed |
| pypi protego(PyPI) | = 0.1.dev0 | No fix listed |
| pypi protego(PyPI) | = 0.2.0 | No fix listed |
| pypi protego(PyPI) | = 0.2.1 | No fix listed |
| pypi protego(PyPI) | = 0.3.0 | No fix listed |
| pypi protego(PyPI) | = 0.3.1 | No fix listed |
| pypi protego(PyPI) | = 0.4.0 | No fix listed |
| pypi protego(PyPI) | = 0.5.0 | No fix listed |
| pypi protego(PyPI) | = 0.6.0 | No fix listed |
| pypi protego(PyPI) | = 0.6.1 | No fix listed |
| scrapy protego | = < 0.6.2 | No fix listed |
| pypi protego(PyPI) | <= 0.6.1 | No fix listed |
| debian/python-protego(Debian:12) | All versions | No fix listed |
| debian/python-protego(Debian:12) | = 0.2.1+dfsg-1 | No fix listed |
| debian/python-protego(Debian:12) | = 0.3.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:12) | = 0.3.1+dfsg-1 | No fix listed |
| debian/python-protego(Debian:12) | = 0.4.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:12) | = 0.5.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:12) | = 0.6.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:12) | = 0.6.2+dfsg-1 | No fix listed |
Show 15 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/python-protego(Debian:12) | = 0.7.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:13) | All versions | No fix listed |
| debian/python-protego(Debian:13) | = 0.4.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:13) | = 0.5.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:13) | = 0.6.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:13) | = 0.6.2+dfsg-1 | No fix listed |
| debian/python-protego(Debian:13) | = 0.7.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:14) | < 0.6.2+dfsg-1 | 0.6.2+dfsg-1 |
| debian/python-protego(Debian:14) | = 0.4.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:14) | = 0.5.0+dfsg-1 | No fix listed |
| debian/python-protego(Debian:14) | = 0.6.0+dfsg-1 | No fix listed |
| ubuntu/python-protego(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python-protego(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-protego(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python-protego(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/scrapy/protego/security/advisories/GHSA-wjmf-p669-5m5p vendor-advisory
- https://github.com/scrapy/protego/commit/785940181659bf440ba82f1da148fade5087e858 patch
- github.com product
- https://github.com/scrapy/protego/releases/tag/0.6.2
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2525703 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-55520 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-67865 third-party-advisory