Skip to content
RedCVE

CVE-2026-129304Rennf93 Guard-core improper input validation

rennf93Published:

CVSS score

5.4

Medium

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.37%

0.37% chance of exploitation in the next 30 days, higher than 32.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

Guard Core is an API security core engine for the FastAPI-Guard, FlaskAPI Guard, and DjAPI Guard adapters. From 1.0.0 until 3.13.0, _extract_from_forwarded_header() in guard_core/utils.py returns the selected X-Forwarded-For entry without validating that it is an IP address. In deployments configured with trusted_proxies where the selected entry is attacker-controlled, the arbitrary client_ip string reaches BehaviorTracker in guard_core/handlers/behavior_handler.py and is interpolated into Redis key names and blocking KEYS glob patterns. Glob metacharacters can cause one request to count other clients' behavior events, embedded separators can disturb key parsing, and rotating identities can create unbounded keys while repeatedly scanning the shared Redis keyspace. A non-IP identity can also reach a ban action and cause an uncaught validation error. This issue is fixed in version 3.13.0.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running rennf93 Guard-core and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Guard-core to 3.13.0 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
Low

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L

Affected products

Affected productsVersions
rennf93 Guard-core>= 1.0.0, < 3.13.0

Weakness

  • CWE-20 improper input validation

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-129304 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-129304?

CVE-2026-129304 has a CVSS 3.1 base score of 5.4 (medium).

Which versions are affected?

Rennf93 Guard-core (>= 1.0.0, < 3.13.0)

Is there a patch for CVE-2026-129304?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.