CVE-2025-66405
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-01

Last updated on: 2026-02-20

Assigner: GitHub, Inc.

Description
Portkey.ai Gateway is a blazing fast AI Gateway with integrated guardrails. Prior to 1.14.0, the gateway determined the destination baseURL by prioritizing the value in the x-portkey-custom-host request header. The proxy route then appends the client-specified path to perform an external fetch. This can be maliciously used by users for SSRF attacks. This vulnerability is fixed in 1.14.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-01
Last Modified
2026-02-20
Generated
2026-05-07
AI Q&A
2025-12-02
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
portkey gateway to 1.14.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in Portkey.ai Gateway prior to version 1.14.0 allows an attacker to perform Server-Side Request Forgery (SSRF) attacks. The gateway determines the destination baseURL by prioritizing the value in the x-portkey-custom-host request header, which can be manipulated by a user. The proxy route then appends the client-specified path and performs an external fetch, enabling malicious users to make unauthorized requests to internal or external systems.


How can this vulnerability impact me? :

This vulnerability can allow attackers to make unauthorized requests from the server to internal or external systems, potentially exposing sensitive data, accessing internal services, or causing denial of service. It can lead to information disclosure, unauthorized access, or other security breaches depending on the internal network and services accessible from the gateway.


What immediate steps should I take to mitigate this vulnerability?

Upgrade Portkey.ai Gateway to version 1.14.0 or later, as this version contains the fix for the SSRF vulnerability caused by prioritizing the x-portkey-custom-host header.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart