Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-46814

3.4 · LOW
Published May 6, 2025 fastapi-guard CWE-74 EPSS 0.32% (24th pctl)

Overview

CVE-2025-46814 is a low-severity vulnerability affecting fastapi-guard fastapi_guard. It was published on May 6, 2025 and has a CVSS 3.1 base score of 3.4 (LOW).

This vulnerability has a CVSS 3.1 base score of 3.4, rated LOW. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from fastapi-guard. Update fastapi_guard to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
fastapi-guard fastapi_guard >= 0, < 2.0.0 Affected

Frequently Asked Questions

What is CVE-2025-46814?

CVE-2025-46814 is a low-severity vulnerability affecting fastapi-guard fastapi_guard. It was published on May 6, 2025 and has a CVSS 3.1 base score of 3.4 (LOW).

How severe is CVE-2025-46814?

This vulnerability has a CVSS 3.1 base score of 3.4, rated LOW. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-46814?

Check the references section for vendor advisories and patches from fastapi-guard. Update fastapi_guard to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-46814?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-46814 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.