Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Python

CVE-2026-129302 — rennf93 guard-core

High · CVSS 7.5EPSS 0.6% First seen November 16, 2026

One of 3 rennf93 guard-core vulnerabilities published together by NVD: our article covers all of them.

PythonVulnerabilitiesEndpoint security

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on availability, none on confidentiality and integrity

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-1333: Inefficient Regular Expression Complexity

Affected and fixed versions

ProductAffected versionsFixed in
guard-core (PyPI)≥ 3.5.0, ≤ 3.12.03.13.0
rennf93 guard-core>= 3.5.0, < 3.13.0—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Affected

  • rennf93 guard-core

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-129302?

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 guardcore/handlers/suspatternshandler.py execute through a direct pattern.search(content) call instead of the timeout-protected createsafematcher() path used for custom patterns. Weakness type: Uncontrolled Resource Consumption (CWE-400).

How severe is CVE-2026-129302?

CVE-2026-129302 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-129302 being exploited?

Not as far as is known: CVE-2026-129302 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-129302?

guard-core (PyPI) ≥ 3.5.0, ≤ 3.12.0 (fixed in 3.13.0); rennf93 guard-core >= 3.5.0, < 3.13.0.

How do I fix CVE-2026-129302?

Update to a fixed release: guard-core (PyPI) 3.13.0.

Timeline & sources

References

Related vulnerabilities & news