CVE-2025-66405
Portkey.ai Gateway vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Gateway. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Portkey.ai Gateway runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Portkey-AI/gateway/security/advisories/GHSA-hhh5-2cvx-vmfp · Vendor Advisory
- github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885 · Patch
- github.com/Portkey-AI/gateway/pull/1372
- nvd.nist.gov/vuln/detail/CVE-2025-66405
- github.com/advisories/GHSA-hhh5-2cvx-vmfp
- nvd.nist.gov/vuln/detail/CVE-2025-66405
- cve.org/CVERecord?id=CVE-2025-66405
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.