CVE-2026-129304
Last modified
CVE-2026-129304 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rennf93 | guard-core | >= 1.0.0, < 3.13.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-129304?
How severe is CVE-2026-129304?
How do I fix CVE-2026-129304?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-129299mail-parser is a tool that parses emails by enhancing the Py…6.5
- CVE-2026-1293The Yoast SEO – Advanced SEO with real-time guidance and bui…6.4
- CVE-2026-129300mail-parser is a tool that parses emails by enhancing the Py…5.3
- CVE-2026-129301mail-parser is a tool that parses emails by enhancing the Py…6.5
- CVE-2026-129302Guard Core is an API security core engine for the FastAPI-Gu…7.5
- CVE-2026-129303Guard Core is an API security core engine for the FastAPI-Gu…3.7
- CVE-2026-129306libspdm is a sample implementation that follows the DMTF SPD…4.4
- CVE-2026-129307eml_parser serves as a python module for parsing eml files a…5.3
- CVE-2026-129319create-ecdh is a browserifiable implementation of Node.js cr…5.9
- CVE-2026-12932A memory leak in the tls-crypt-v2 client key extraction in O…8.1
- CVE-2026-129320The shiro:principal tags in shiro-web (Jakarta Pages) and sh…2.1
- CVE-2026-129337Git over HTTP lowers the required permission for pushes to r…
Are you affected by CVE-2026-129304?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
