SCA: security update for guard-core (GHSA-gm9r-hvc9-96gv)

medium Tenable Cloud Security Plugin ID 480958

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-129304)

Solution

Update the guard-core library and its related packages to version 3.13.0 or later.

See Also

https://github.com/advisories/GHSA-gm9r-hvc9-96gv

Plugin Details

Severity: Medium

ID: 480958

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 11/20/2026

Updated: 11/23/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 10.69

Vendor

Vendor Severity: Medium

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2026-129304

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/19/2026

Vulnerability Publication Date: 11/16/2026

Reference Information

CVE: CVE-2026-129304

cwe: CWE-20