{
  "id": "CVE-2026-55520",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55520",
  "published_at": "2026-08-28T18:42:38.334Z",
  "title": "Protego: Exponential backtracking ReDoS in robots.txt URL wildcard matching",
  "vendor": "scrapy",
  "product": "protego",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-400",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "scrapy",
        "product": "protego",
        "ranges": [
          "\u003c 0.6.2"
        ],
        "fixed_in": [
          "0.6.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade protego to 0.6.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/scrapy/protego/security/advisories/GHSA-wjmf-p669-5m5p"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/scrapy/protego/commit/785940181659bf440ba82f1da148fade5087e858"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/scrapy/protego/releases/tag/0.6.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
