What’s Vulnerable › Vulnerabilities
CVE-2025-66405: Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-01 · updated 2026-10-18
- Weakness: CWE-918
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
- Portkey-AI gateway: before 1.14.0 — fixed in 1.14.0
How to fix
Upgrade to a fixed version: Portkey-AI gateway 1.14.0. Check the vendor advisory for mitigations.
References
- https://github.com/Portkey-AI/gateway/commit/b5a7825ba5f4e6918deb32d9969899ce2229a885
- https://github.com/Portkey-AI/gateway/pull/1372
- https://github.com/Portkey-AI/gateway/security/advisories/GHSA-hhh5-2cvx-vmfp
Get alerted when CVE-2025-66405 or the next vulnerability affects your stack