What’s Vulnerable › Vulnerabilities

CVE-2025-66405: Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host

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.

Affected products

How to fix

Upgrade to a fixed version: Portkey-AI gateway 1.14.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-66405 or the next vulnerability affects your stack