Skip to main content
CVE-2026-129304VulnerabilityPublished

Guard Core: Unvalidated X-Forwarded-For-derived string used as a Redis key component and interpolated into a KEYS glob

Affects guard-coreSource GCVE Database

0
Compare
Authoritative record:CVE-2026-129304· Medium 5.4

Not known to be exploited · CVSS 5.4 Medium : upgrade to 3.13.0 when convenient.

Data as of 19 Nov 2026, 23:23 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.4
Patch
Available – fixed in 3.13.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.

What to do

Upgrade guard-core to 3.13.0.

Affected software

ProductAffectedFixed in
PyPIguard-coreAffected
  • >=1.0.0 <3.13.0
Fixed in
  • 3.13.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Guard Core version 3.13.0. Users should upgrade to this version or later. The fix includes validating the extracted X-Forwarded-For entry using ipaddress.ip_address() and falling back to the connecting IP if validation fails. It also escapes glob metacharacters in strings interpolated into Redis KEYS patterns or replaces the KEYS command with more efficient atomic counters or Lua scripts. Deployments with default settings (empty trusted_proxies) are not vulnerable and require no action. No additional mitigations are recommended beyond applying the official fix.

Description

Guard Core versions prior to 3.13.0 contain a vulnerability where the X-Forwarded-For (XFF) header is extracted without IP address validation and used directly in Redis key names and KEYS glob patterns. This allows attacker-controlled strings to cause cross-client counter contamination, unbounded Redis key growth, blocking Redis scans, and potential server errors due to unhandled exceptions. The issue affects deployments where the extracted XFF entry is attacker-controllable and trusted proxies are configured. No data exposure is reported. A fix is available in version 3.13.0 that validates the IP and escapes glob metacharacters or replaces the KEYS command usage.

References

Community reviews

Loading reviews…