HackerFeeds
All CVEs

CVE-2026-129304: Guard Core Improper Input Validation

MEDIUM5.4

Published 2026-11-16 · Updated 2026-11-18 · Source security-advisories@github.com

Not known to be exploited · medium severity — update Guard Core to 3.13.0 or later on your normal schedule.

What to do

  1. Update Guard Core to version 3.13.0 or later. Versions from 1.0.0 up to, but not including, 3.13.0 are affected.
  2. Until it is patched, do not leave Guard Core reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Validate input against a strict allow-list at every trust boundary and reject anything that does not match.

Affected and fixed versions

ProductAffectedFixed in
Guard Core≥ 1.0.0, < 3.13.03.13.0

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact is limited: integrity and availability are rated low. A successful attack can affect components beyond the vulnerable one.

CVSS 3.1 metrics for CVE-2026-129304
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityHighSuccess depends on conditions outside the attacker's control.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityNoneNo effect on confidentiality.
IntegrityLowPartial loss of integrity.
AvailabilityLowPartial loss of availability.

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

Weakness: Improper Input Validation

Input that the software does not check properly can push it into states the developers never intended, which is often the first step towards a crash, data exposure or code execution.

Classified as CWE-20.

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.

Advisory text as published in the NVD record.

View on NVD