Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-129304
Published:November 16, 2026
Updated:November 21, 2026
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.
Affected Packages
guard-core (CONDA):
Affected version(s) >=2.0.0 <3.13.0 || >=3.0.0 <3.13.0 || >=1.0.0 <3.13.0
Fix Suggestion:
Update to version 3.13.0
guard-core (CONDA):
Affected version(s) >=1.0.0 <3.13.0
Fix Suggestion:
Update to version 3.13.0
https://github.com/Guard-Core/guard-core.git (GITHUB):
Affected version(s) =0.1.0 <3.13.0 || >=1.0.0 <3.13.0 || >=2.0.0 <3.13.0 || >=3.0.0 <3.13.0
Fix Suggestion:
Update to version 3.13.0
guard-core (PYTHON):
Affected version(s) >=2.0.0 <3.13.0 || =0.1.0 <3.13.0 || >=3.0.0 <3.13.0 || >=1.0.0 <3.13.0
Fix Suggestion:
Update to version 3.13.0
guard-core (PYTHON):
Affected version(s) >=1.0.0 <3.13.0
Fix Suggestion:
Update to version 3.13.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
LOW
Subsequent System Availability
LOW
CVSS v3
Base Score:
5.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.24