CVE-2026-129304: Guard Core - Improper Input Validation
- Cve: CVE-2026-129304
- Name: Guard Core - Improper Input Validation
- 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.
- Impact: Attackers can manipulate Redis key names and glob patterns, causing cross-client behavior event counting, key parsing disruption, unbounded key creation, and denial of service via uncaught validation errors.
- Remediation: Upgrade to version 3.13.0 or later.
- Vulnerability impact: data_tampering, denial_of_service
- Requirements: Attacker must control the selected X-Forwarded-For entry and deployment must use trusted_proxies.
- Labels source: securitycontext
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L
- Epss score: 0.00374
- Epss percentile: 0.32026
- Assignee: [email protected]
- Published at: 2026-11-16T20:19:01Z
- Age in days: 8
- Modified at: 2026-11-18T18:19:07Z
- Public exploits total: 1
- References total: 4
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-129304
- Nvd status: received
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, rejected by nvd
- Not known: vulnerability type, requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/googlesky/CVE-2026-129304 | poc-in-github | 2026-11-22 |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Guard-Core/guard-core | commit, pull, releases, security_advisory | yes | /v1/repositories/Guard-Core/guard-core |
| rennf93/guard-core | package | yes | /v1/repositories/rennf93/guard-core |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-11-22
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts