CVE-2025-66405
CVE-2025-66405 · Portkey.ai Gateway: Server-Side Request Forgery (SSRF) in Custom Host
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 6.9 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
gateway
- Versions
- < 1.14.0: Affected
No fix published
@portkey-ai/gateway npm
- Affected ranges
- SEMVER: < 1.14.0
Update to 1.14.0