Read the docs
TI-2025-29447 Aliases CVE-2025-46814

FastAPI Guard Remote Header Injection via X-Forwarded-For Manipulation

Priority HIGH 66CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

FastAPI Guard is a security library for FastAPI that provides middleware to control IPs, log requests, and detect penetration attempts. An HTTP header injection vulnerability has been identified in versions prior to 2.0.0. By manipulating the X-Forwarded-For header, an attacker can potentially inject arbitrary IP addresses into the request. This vulnerability can allow attackers to bypass IP-based access controls, mislead logging systems, and impersonate trusted clients. It is especially impactful when the application relies on the X-Forwarded-For header for IP-based authorization or authentication. Users should upgrade to FastAPI Guard version 2.0.0 to receive a fix.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00342 27th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed fastapi-guard (rennf93): 2.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rennf93fastapi-guardbefore 2.0.02.0.0Patch availableCNA
  • fastapi-guard Vendorrennf93 Affected before 2.0.0 Fixed in 2.0.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:fastapi-guard:fastapi_guard:*:*:*:*:*:*:*:*before 2.0.0Vulnerablerennf93
  • cpe:2.3:a:fastapi-guard:fastapi_guard:*:*:*:*:*:*:*:* Versions before 2.0.0 Vulnerable ·rennf93

Remediation

  • Fix · CNA fastapi-guard (rennf93) Fixed in 2.0.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-46814

References

  • TI-2025-34178 fastapi-guard patch contains bypassable RegEx CVSS 4.0HIGH 7.8
  • TI-2025-33483 ReDoS in fastapi-guard's penetration attempts detector CVSS 4.0MEDIUM 6.9

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences