{
  "id": "CVE-2026-129302",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-129302",
  "published_at": "2026-11-16T19:36:17.609Z",
  "title": "Guard Core: Quadratic ReDoS in built-in detection pattern freezes the event loop with a single request",
  "vendor": "rennf93",
  "product": "guard-core",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "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": "Guard Core is an API security core engine for the FastAPI-Guard, FlaskAPI Guard, and DjAPI Guard adapters. From 3.5.0 until 3.13.0, built-in penetration-detection patterns in guard_core/handlers/suspatterns_handler.py execute through a direct pattern.search(content) call instead of the timeout-protected create_safe_matcher() path used for custom patterns. The built-in template-injection detector contains an unbounded expression with quadratic behavior when scanning repeated opening braces. Because penetration detection and enhanced mode are enabled by a stock SecurityConfig, an unauthenticated request can block the shared asyncio event loop, affecting all application endpoints. The triggering input does not produce a detection match, so the request can complete without incrementing ban counters or being recorded as suspicious. This issue is fixed in version 3.13.0.",
  "cwe": "CWE-400",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "rennf93",
        "product": "guard-core",
        "ranges": [
          "\u003e= 3.5.0, \u003c 3.13.0"
        ],
        "fixed_in": [
          "3.13.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade guard-core to 3.13.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Guard-Core/guard-core/security/advisories/GHSA-r7hm-rjvg-xx7j"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Guard-Core/guard-core/pull/68"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Guard-Core/guard-core/commit/c07239fa1c5aa93e3f179440e79dad652977d3e4"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Guard-Core/guard-core/releases/tag/3.13.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
