Menu

Star on GitHub · 3.2k

CVE-2025-46814

3.4 · LOW

FastAPI Guard is a security library for FastAPI that provides middleware to control IPs, log requests, and detect penetration attempts.

Published May 6, 2025CWE-74EPSS 0.34%

Overview

CVE-2025-46814 is a low-severity vulnerability. 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, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2025-46814?

CVE-2025-46814 is a low-severity vulnerability. 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, patches, and mitigation guidance. 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 is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-46814 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related LOW CVEs from 2025

View all