{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55520","id":"CVE-2026-55520","title":"Protego: Exponential backtracking ReDoS in robots.txt URL wildcard matching","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, prot","descriptionLong":"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.","published":"2026-08-28T18:42:38.334Z","updated":"2026-10-28T02:30:28.009072736Z","reserved":"2026-06-16T22:44:22.284Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7.1,"vector":"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7.1,"vector":"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":7.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"}],"rating":"high","products":["scrapy protego"],"affectedProducts":[{"vendor":"scrapy","product":"protego","defaultStatus":null,"versions":[{"version":"< 0.6.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"protego","purl":"pkg:pypi/protego","ranges":["<0.6.2"],"fixed":["0.6.2"],"advisory":"GHSA-wjmf-p669-5m5p"}],"cwes":["CWE-400","CWE-1333"],"aliases":["GHSA-wjmf-p669-5m5p","PYSEC-2026-3906"],"references":[{"url":"https://github.com/scrapy/protego/security/advisories/GHSA-wjmf-p669-5m5p","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/scrapy/protego/commit/785940181659bf440ba82f1da148fade5087e858","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/scrapy/protego/releases/tag/0.6.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55520.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55520","tags":["advisory"]},{"url":"https://github.com/scrapy/protego","tags":["package"]},{"url":"https://pypi.org/project/protego","tags":["package"]},{"url":"https://github.com/advisories/GHSA-wjmf-p669-5m5p","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00511,"epssPercentile":0.44465,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55520","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55520","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55520","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wjmf-p669-5m5p","ok":true,"note":"GHSA-wjmf-p669-5m5p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55520","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}