Security mailing lists by PureSourceCode

CVE-2026-129302

HIGH 7.5CVSS 3.1

Guard Core: Quadratic ReDoS in built-in detection pattern freezes the event loop with a single request

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.

Published
16 Nov 2026
Last modified
19 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-1333CWE-400
Also known as
GHSA-r7hm-rjvg-xx7j
Sources
NVDJSONOSV GHSA-r7hm-rjvg-xx7jJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI guard-core >= 3.5.0, < 3.13.0 3.13.0

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 16 Nov 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.